/* Navy Theme Override - Ensures consistent navy blue theme across all pages */

/* Force all main sections to have transparent background (navy shows through) */
section {
    background-color: transparent !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Ensure body and html have navy background */
html {
    background-color: #00132a !important;
}

body {
    background-color: #00132a !important;
}

/* All text headings should be white/light */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

/* All paragraph text should be light */
p {
    color: #e0e6ed !important;
}

/* Section titles and headings */
.section-title,
.section-heading,
.page-hero-title,
.product-overview-section h2,
.technology-section h2,
.applications-section h2 {
    color: #00d4ff !important;
}

/* Product overview heading - smaller for long text */
.product-overview-section .section-heading {
    font-size: 2rem !important;
    white-space: nowrap !important;
}

@media (max-width: 968px) {
    .product-overview-section .section-heading {
        font-size: 1.5rem !important;
        white-space: normal !important;
    }
}

@media (max-width: 768px) {
    .product-overview-section .section-heading {
        font-size: 1.3rem !important;
    }
}

.section-subheading {
    color: #00ffcc !important;
}

/* Product description text */
.product-description p,
.lead-text,
.overview-content p,
.overview-content .lead-text {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Investment Section - Force navy background */
#product,
.investment-section,
.investment-section .container,
.investment-points {
    background-color: transparent !important;
}

.investment-section .section-title {
    color: #00d4ff !important;
}

/* All cards - ensure navy background with glass effect */
.value-card,
.industry-card,
.investment-item,
.team-member,
.feature-card,
.use-case-card,
.application-card,
.lifecycle-stage,
.sector-item,
.content-block {
    background-color: rgba(13, 40, 71, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
}

/* Card text colors */
.value-card h3,
.value-card p,
.industry-card h3,
.industry-card p,
.investment-item,
.investment-item p,
.team-member h3,
.team-member p,
.feature-card h3,
.feature-card p,
.application-content h3,
.application-content p,
.lifecycle-stage h3,
.lifecycle-stage p,
.use-case-content h3,
.use-case-content p,
.sector-item,
.content-block p {
    color: #ffffff !important;
}

/* Member titles and roles */
.member-title {
    color: #00ffcc !important;
}

/* Contact section */
.contact-section {
    background-color: transparent !important;
}

.contact-info {
    color: #ffffff !important;
}

.contact-info h4 {
    color: #00d4ff !important;
}

.contact-info p,
.contact-info a {
    color: #ffffff !important;
}

.info-item {
    color: #ffffff !important;
}

.info-item h4 {
    color: #00d4ff !important;
}

.info-item p {
    color: #ffffff !important;
}

/* Contact form - navy theme */
.contact-form {
    background-color: rgba(13, 40, 71, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
}

.form-group label {
    color: #ffffff !important;
}

.form-group input,
.form-group textarea {
    background-color: rgba(0, 31, 63, 0.9) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(224, 230, 237, 0.5) !important;
}

/* Email and contact links */
.email-link,
.info-item a {
    color: #00d4ff !important;
}

.email-link:hover,
.info-item a:hover {
    color: #00ffcc !important;
}

/* Company Name in Header */
.company-name {
    font-size: 4rem !important;
    font-weight: 800 !important;
    color: #00d4ff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    margin-left: 2rem !important;
    display: flex !important;
    align-items: center !important;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5) !important;
}

/* Navigation links */
.nav-link {
    color: #ffffff !important;
}

.nav-link:hover,
.nav-link.active {
    color: #00d4ff !important;
}

/* Dropdown menu */
.dropdown {
    position: relative !important;
    z-index: 100001 !important;
}

.dropdown-menu {
    background-color: rgba(0, 20, 40, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    z-index: 100002 !important;
    min-width: 200px !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background-color: transparent !important;
}

.dropdown-menu a {
    color: #ffffff !important;
    display: block !important;
    padding: 0.75rem 1.5rem !important;
    text-decoration: none !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    background-color: transparent !important;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 212, 255, 0.2) !important;
    color: #00d4ff !important;
}

/* Header should allow dropdown to overflow */
.header {
    overflow: visible !important;
    z-index: 99999 !important;
}

.navbar {
    overflow: visible !important;
}

.navbar .container {
    overflow: visible !important;
}

.nav-menu {
    overflow: visible !important;
}

/* Footer */
.footer {
    background-color: #001428 !important;
    color: #ffffff !important;
}

.footer-info p {
    color: #e0e6ed !important;
}

.footer-links a {
    color: #ffffff !important;
}

.footer-links a:hover {
    color: #00d4ff !important;
}

/* Hero section */
.hero {
    background-color: #001428 !important;
    position: relative;
    min-height: 600px;
    z-index: 1 !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Hide video if it exists */
.hero-video {
    display: none !important;
}

/* Digital Twin Canvas */
#digital-twin-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
}

.hero-title {
    color: #ffffff !important;
}

.hero-brand {
    color: #00ffcc !important;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 2rem;
}

/* Buttons */
.learn-more-button,
.submit-button,
.cta-button {
    background: linear-gradient(135deg, #00d4ff 0%, #00ffcc 100%) !important;
    color: #001428 !important;
    border: none !important;
}

.learn-more-button:hover,
.submit-button:hover,
.cta-button:hover {
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%) !important;
}

/* Learn more links */
.learn-more-link {
    color: #00d4ff !important;
}

/* Page hero sections */
.page-hero {
    background-color: #001428 !important;
}

.page-hero-content {
    color: #ffffff !important;
}

.page-hero-title {
    color: #00d4ff !important;
}

.page-hero-subtitle {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Content sections */
.content-section,
.features-section,
.opportunity-section,
.sectors-section,
.lifecycle-section,
.technology-section,
.applications-section,
.use-cases-section {
    background-color: transparent !important;
}

/* Strong/bold text */
strong {
    color: #ffffff !important;
}

/* List items */
li {
    color: #e0e6ed !important;
}

/* Opportunity section */
.opportunity-content h2,
.opportunity-content p {
    color: #ffffff !important;
}

/* CTA section */
.cta-section {
    background-color: #001428 !important;
}

.cta-section h2 {
    color: #00d4ff !important;
}

.cta-section p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Application content */
.application-content {
    background-color: transparent !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Application cards - ensure proper layout */
.application-card {
    background-color: rgba(13, 40, 71, 0.6) !important;
    display: grid !important;
}

.application-image {
    position: relative !important;
    z-index: 1 !important;
}

.application-image canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-menu {
        background-color: rgba(0, 19, 42, 0.98) !important;
        backdrop-filter: blur(10px) !important;
    }

    .company-name {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .company-name {
        font-size: 3rem !important;
    }
}

@media (max-width: 968px) {
    .company-name {
        font-size: 2.5rem !important;
        margin-left: 1rem !important;
    }
}
