/* --- MODERN DESIGN SYSTEM & VARIABLES --- */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --warning: #b45309;
    --warning-bg: #fffbeb;
    --warning-border: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- NAVIGATION & DUAL-LAYER LOGO --- */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1.1;
	text-decoration:none;
}

.logo span {
    font-weight: 400;
    color: var(--text-muted);
}

/* --- NEW TYPOGRAPHY: EDITORIAL RUNNING LETTER STYLE --- */
.logo-subtext.growth-corridor-letter {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 0.82rem;
    font-weight: bold;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.2px;
    color: #16a34a; /* Keeping emerald growth hub identity */
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 160px 20px 100px 20px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 45%),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent 50%),
                var(--bg-alt);
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin: 0 auto 24px auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 40px auto;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
#modalAction
{
	display:none;
}
.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: white;
    border-color: var(--text-dark);
}

.btn-warning {
    background-color: #d97706;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.btn-warning:hover {
    background-color: #b45309;
    transform: translateY(-1px);
}
.project-block {
    margin-bottom: 20px;
    padding: 15px;
    background: #fdfdfd;
    border-left: 4px solid #b30000;
    border-radius: 4px;
    border-bottom: 1px solid #eee;
}

.project-name {
    margin: 0 0 12px 0;
    color: #333;
    font-weight: 700;
}

.advocacy-list {
    margin: 0;
    padding-left: 20px;
}

.advocacy-list li {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #444;
    line-height: 1.5;list-style-type: disc;
}
/* --- SECTIONS LAYOUT --- */
section {
    padding: 100px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- MACRO ANALYSIS GRID --- */
.macro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.macro-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.macro-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-2px);
}

.macro-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

/* --- BADGE CLOUD SYSTEM --- */
.badge-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.tag-badge {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag-badge:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* --- GRID CONFIGURATIONS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

/* --- INTERACTIVE CARD DESIGNS --- */
.res-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.res-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-4px);
}

.res-card::after {
    content: '→';
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition);
}

.res-card:hover::after {
    opacity: 1;
    transform: translateX(4px);
    color: var(--accent);
}

.dev-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}

.res-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.type-pill {
    align-self: flex-start;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* --- ADVOCACY & QUALITY CRITIQUE ADVISORY --- */
.advocacy-section {
    margin-top: 60px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-left: 6px solid var(--warning-border);
    border-radius: var(--radius-md);
    padding: 40px;
    scroll-margin-top: 100px;
}

.advocacy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.advocacy-icon {
    background: #f59e0b;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advocacy-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #78350f;
    letter-spacing: -0.5px;
}

.advocacy-subtitle {
    font-size: 1.05rem;
    color: var(--warning);
    margin-bottom: 24px;
    font-weight: 500;
}

.advocacy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.advocacy-item {
    background: white;
    border: 1px solid #fef3c7;
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.advocacy-item strong {
    color: #78350f;
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.advocacy-placeholder-text {
    color: #92400e;
    font-style: italic;
    font-size: 0.95rem;
}

/* --- WARNING OVERLAY ALERTS INSIDE MODAL --- */
.modal-alert-box {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-alert-text {
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

/* --- ECOSYSTEM HUB ARCHITECTURE --- */
.info-panel {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
}

.info-panel h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-item {
    background: white;
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.panel-item:hover {
    border-color: var(--accent);
    padding-left: 24px;
    box-shadow: var(--shadow-sm);
}

.panel-item-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.status-pill {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.status-upcoming { background: #fef3c7; color: #d97706; }
.status-active { background: #dcfce7; color: #15803d; }
.status-bullet { background: #edf2f7; color: #2d3748; }

/* --- PREMIUM ECO-GREEN INTELLIGENCE ACCENT --- */
.intelligence-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a;
    padding: 24px 32px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
	margin-bottom: 10px;
    color: #166534;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.04);
}

.intelligence-banner strong {
    color: #14532d;
    font-weight: 700;
}

.intelligence-banner .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #16a34a;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
}

/* --- CORE INTERACTION STRUCTURAL LAYER --- */
.hidden-details {
    display: none !important;
}
.alert-log {
    background-color: #fff9fa;
    border-left: 5px solid #d9534f;
    padding: 15px 20px;
    margin: 20px 0;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.alert-title {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.05em;
    color: #c9302c;
}

.alert-content {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.alert-link {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
}
.res-card {
    position: relative; /* Essential for positioning the bar */
    padding-bottom: 50px; /* Space for the warning bar */
}

.warning-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff3f3;
    border-top: 1px solid #ffcccc;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    color: #b30000;
    font-size: 0.85em;
    font-weight: 600;
    box-sizing: border-box;
}

.blink-warning {
    margin-right: 8px;
    animation: blink-animation 1.5s steps(5, start) infinite;
}

@keyframes blink-animation {
    to { visibility: hidden; }
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-alt);
    border: none;
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.modal-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.modal-body {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Add this to your style.css */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; } 
    
    #mobile-nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 15px;
    }
    
    #mobile-nav.active { display: flex; } 
}
.overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Content Box */
.overlay-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.overlay-email {
    display: block;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #b30000;
}

/* Update your header link to also trigger the overlay */
.header-contact-link {
    cursor: pointer;
}
.site-footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #777;
}

.disclaimer-note {
    font-size: 0.85em;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #666;
}

.footer-link {
    text-decoration: none;
    color: #555;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #b30000;
    text-decoration: underline;
}
/* --- RESPONSIVE ADAPTABILITY MATRIX --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav { display: none; }
    section { padding: 60px 20px; }
    .modal-container { padding: 32px 24px; }
}