@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #0a2540;
    --accent: #ff5f2e;
    --accent-hover: #e04e22;
    --gold: #c5a059;
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --bg-dark: #05070a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff; /* White header matching the screenshot */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333333; /* Dark text on white background */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

.main-nav a.highlight-link {
    color: var(--gold);
    font-weight: 800;
}

.main-nav a.highlight-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: flex-end;
    padding: 5% 5% 8%;
    background-image: url('african_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Stronger, darker gradient overlay to ensure white text is perfectly readable */
    background: linear-gradient(to right, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.6) 50%, rgba(10, 37, 64, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff; /* Switched from primary to white for optimal contrast */
    text-shadow: 0 4px 12px rgba(0,0,0,0.5); 
}

.subheadline {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff; /* Switched from primary to white for optimal contrast */
    max-width: 800px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 95, 46, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .main-nav ul {
        gap: 1rem;
    }
    .main-nav a {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 1rem;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }
    .hero-content {
        padding-bottom: 2rem;
    }
    h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   THE STRATEGY PAGE STYLES
   ========================================= */

/* Strategy Header (Transparent) */
.strategy-header {
    background-color: transparent;
    box-shadow: none;
    position: absolute;
    width: 100%;
}
.strategy-nav a {
    color: var(--text-main);
}
.strategy-nav a:hover, .strategy-nav a.active {
    color: var(--accent);
}

/* Strategy Hero */
.strategy-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 15% 5% 5%;
    background: radial-gradient(circle at top right, #1a3a5f, var(--bg-dark));
}
.strategy-hero-content {
    max-width: 800px;
}
.strategy-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Mission Control Section */
.mission-control {
    padding: 6rem 5%;
    background-color: #08111e;
}
.mission-control-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.mission-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}
.accent-text {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.mission-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.feature-list {
    list-style: none;
}
.feature-list li {
    display: flex;
    margin-bottom: 2rem;
}
.bullet-accent {
    min-width: 12px;
    height: 12px;
    background-color: var(--accent);
    margin-top: 6px;
    margin-right: 1.5rem;
}
.feature-text strong {
    font-size: 1.1rem;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}
.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Ethical AI Section */
.ethical-ai {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
    text-align: center;
}
.ethical-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.ethical-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}
.ethical-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.ethical-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.ethical-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.ethical-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.ethical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 95, 46, 0.1);
    border-color: rgba(255, 95, 46, 0.3);
}
.ethical-card h3 {
    font-size: 1.1rem;
}
.ethical-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Infrastructure Section */
.infrastructure {
    padding: 6rem 5%;
    background-color: #08111e;
}
.infrastructure-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.infrastructure-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.infrastructure-header h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
}
.infrastructure-header p {
    color: var(--text-muted);
}
.infrastructure-content {
    max-width: 1200px;
    margin: 0 auto;
}
.vault-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.vault-img {
    width: 100%;
    display: block;
}
.vault-overlay-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-top-left-radius: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.vault-feature {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.vault-feature strong {
    color: var(--text-main);
}
.vault-feature:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .mission-control-container {
        grid-template-columns: 1fr;
    }
    .ethical-cards {
        grid-template-columns: 1fr;
    }
    .vault-overlay-card {
        position: relative;
        width: 100%;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* =========================================
   FOOTER & CHATBOT
   ========================================= */

/* Footer Styles */
.main-footer {
    background-color: #050a14;
    padding: 5rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 350px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-nav-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-col a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ChatBot Assistant */
.chatbot-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chatbot-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 95, 46, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 95, 46, 0.6);
}

.chatbot-toggle svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}
/* Fix for Chatbot positioning and panel */
.chatbot-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 95, 46, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 95, 46, 0.6);
}

.chatbot-fab svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.chatbot-panel {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    background: #fff;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.chatbot-panel.active {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-title-group {
    display: flex;
    flex-direction: column;
}

.chat-title {
    font-weight: 600;
    font-size: 1rem;
}

.chat-status {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    height: 250px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg.bot {
    background: #e2e8f0;
    padding: 0.75rem;
    border-radius: 8px;
    border-top-left-radius: 0;
    align-self: flex-start;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.suggestion-chip {
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    color: var(--primary);
    cursor: pointer;
    transition: background 0.3s;
}

.suggestion-chip:hover {
    background: #e2e8f0;
}

.chat-input-area {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-send-btn svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.chat-send-btn:hover {
    background: #1e3a8a;
}

/* =========================================
   PMOaaS PAGE STYLES
   ========================================= */

.pmo-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    min-height: 80vh;
}

.pmo-left {
    flex: 1;
    max-width: 600px;
}

.pmo-left h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pmo-left .subheadline {
    font-size: 1.25rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.pmo-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn-orange {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 95, 46, 0.4);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 46, 0.6);
}

.pmo-caption {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.pmo-right {
    flex: 1.2;
    position: relative;
}

.mockup-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.mockup-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sub-hero-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sub-hero-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sub-hero-link:hover {
    color: white;
}

.link-indicator {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

@media (max-width: 1024px) {
    .pmo-hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 5%;
    }
    
    .pmo-cta-group {
        align-items: center;
    }
    
    .mockup-frame {
        transform: none;
    }

    .sub-hero-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
}

