.balloonstyle{
position:absolute;
top: -500px;
left: 0;
padding: 5px;
visibility: hidden;
border:1px solid black;
font:normal 12px Verdana;
line-height: 18px;
z-index: 100;
background-color: white;
width: 200px;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135,Strength=5);
}

#arrowhead{
z-index: 99;
position:absolute;
top: -500px;
left: 0;
visibility: hidden;
}

/* ================================================================
   About Page / Documentation Styles
   ================================================================ */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container h1 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.container h2 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.container h3 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.container h4 {
    color: #555;
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 1.2em;
}

.container p {
    margin: 15px 0;
    font-size: 1em;
}

.container ul, .container ol {
    margin: 15px 0;
    padding-left: 30px;
}

.container li {
    margin: 8px 0;
}

.container code {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
}

.container pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85em;
    line-height: 1.5;
}

/* Content Section Containers - EXACT names from pattern */
.contentINTRO {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contentINTRO h2 {
    color: white;
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.contentINTRO p {
    font-size: 1.1em;
    margin: 10px 0;
    color: rgba(255,255,255,0.95);
}

.contentWebpage {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contentWebpage h2 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.6em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.contentSUMMARY {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contentSUMMARY h2 {
    color: white;
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 15px;
}
/* Insight Boxes */
.contentSUMMARY p {
    color: rgba(255,255,255,0.95);
}

.contentSUMMARY h3 {
    color: white;
    font-size: 1.4em;
    margin-top: 25px;
}

.contentSUMMARY ul, .contentSUMMARY ol {
    color: rgba(255,255,255,0.95);
}

/* Feature Grid - Flexible grid for callouts */
.feature-grid {
    background: #e8f4f8;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
    border-radius: 5px;
    /* Ensure text is dark by default */
    color: #333;
}

.feature-grid p {
    margin: 10px 0;
    color: #333;
}

.feature-grid h3, .feature-grid h4 {
    color: #2c3e50;
}
/* Feature Grids */
.feature-grid strong {
    color: #2c3e50;
}

/* Feature Card */
.feature-card {
    background: #f8f9fa;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: #333;
}

.feature-card h3 {
    color: #2c3e50;
    margin-top: 0;
}

.feature-card p {
    color: #333;
}

/* Stat Box - Info boxes */
.stat-box {
    background: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #95a5a6;
    border-radius: 5px;
    color: #333;
}

.stat-box p {
    margin: 8px 0;
    line-height: 1.8;
    color: #333;
}

.stat-box h3, .stat-box h4 {
    color: #2c3e50;
}

.stat-box strong {
    color: #2c3e50;
}

/* Stats Grid */
.alert-warning {
    background: #fff3cd;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
}

.alert-warning h3, .alert-warning h4 {
    color: #856404;
    margin-top: 0;
}

.alert-warning p, .alert-warning ul, .alert-warning ol {
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #17a2b8;
    border-radius: 5px;
}

.alert-info p {
    margin: 5px 0;
    color: #0c5460;
}

.alert-success {
    background: #d4edda;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #28a745;
    border-radius: 5px;
}

.alert-success p {
    margin: 5px 0;
    color: #155724;
}

/* Link Styling in Gradient Sections */
.contentINTRO > p a, 
.contentINTRO > h3 + p a,
.contentSUMMARY > p a,
.contentSUMMARY > h3 + p a {
    color: #ffed4e !important;
    text-decoration: underline !important;
    font-weight: bold;
}

.contentINTRO > p a:hover,
.contentINTRO > h3 + p a:hover,
.contentSUMMARY > p a:hover,
.contentSUMMARY > h3 + p a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Footer Navigation Styling */
#footerNavMount {
    background: #f8f9fa;
    padding: 30px;
    margin-top: 40px;
    border-top: 3px solid #3498db;
    border-radius: 8px;
    color: #333;
}

#footerNavMount h3 {
    color: #2c3e50;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
}

#footerNavMount ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#footerNavMount li {
    margin: 8px 0;
    color: #333;
}

#footerNavMount a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

#footerNavMount a:hover {
    color: #2980b9;
    text-decoration: underline;
    padding-left: 5px;
}

/* ================================================================
   COLOR CONTRAST FIXES - Ensures readability in nested divs
   ================================================================ */

/* GLOBAL FIX for Components nested in dark sections */
.contentINTRO .stat-box,
.contentINTRO .feature-grid,
.contentINTRO .feature-card,
.contentINTRO .insight-box,
.contentINTRO .highlight-box,
.contentSUMMARY .stat-box,
.contentSUMMARY .feature-grid,
.contentSUMMARY .feature-card,
.contentSUMMARY .insight-box,
.contentSUMMARY .highlight-box {
    color: #333 !important;
}

.contentINTRO .stat-box h3, .contentINTRO .stat-box h4,
.contentINTRO .feature-grid h3, .contentINTRO .feature-grid h4,
.contentINTRO .feature-card h3, .contentINTRO .feature-card h4,
.contentSUMMARY .stat-box h3, .contentSUMMARY .stat-box h4,
.contentSUMMARY .feature-grid h3, .contentSUMMARY .feature-grid h4,
.contentSUMMARY .feature-card h3, .contentSUMMARY .feature-card h4 {
    color: #2c3e50 !important;
}

.contentINTRO .stat-box p, .contentINTRO .stat-box ul, .contentINTRO .stat-box li,
.contentSUMMARY .stat-box p, .contentSUMMARY .stat-box ul, .contentSUMMARY .stat-box li,
.contentSUMMARY .feature-card p, .contentSUMMARY .feature-card ul, .contentSUMMARY .feature-card li {
    color: #333 !important;
}

/* Fix Links in these light boxes to be standard blue */
.contentINTRO .stat-box a,
.contentINTRO .feature-grid a,
.contentINTRO .feature-card a,
.contentSUMMARY .stat-box a,
.contentSUMMARY .feature-grid a,
.contentSUMMARY .feature-card a {
    color: #3498db !important;
    text-decoration: none;
    font-weight: normal;
}

.contentINTRO .stat-box a:hover,
.contentSUMMARY .stat-box a:hover {
    text-decoration: underline !important;
    color: #2980b9 !important;
}


/* Light background boxes inside gradient sections need dark text */
.contentINTRO div[style*="background: #f"],
.contentINTRO div[style*="background: #e"],
.contentINTRO div[style*="background: #d"],
.contentINTRO div[style*="background: white"],
.contentINTRO div[style*="background: #fff"],
.contentINTRO div[style*="background-color: #f"],
.contentINTRO div[style*="background-color: #e"],
.contentINTRO div[style*="background-color: #d"],
.contentINTRO div[style*="background-color: white"],
.contentINTRO div[style*="background-color: #fff"],
.contentSUMMARY div[style*="background: #f"],
.contentSUMMARY div[style*="background: #e"],
.contentSUMMARY div[style*="background: #d"],
.contentSUMMARY div[style*="background: white"],
.contentSUMMARY div[style*="background: #fff"],
.contentSUMMARY div[style*="background-color: #f"],
.contentSUMMARY div[style*="background-color: #e"],
.contentSUMMARY div[style*="background-color: #d"],
.contentSUMMARY div[style*="background-color: white"],
.contentSUMMARY div[style*="background-color: #fff"] {
    color: #333 !important;
}

/* Ensure headings in light background nested divs are dark */
.contentINTRO div[style*="background"] h2,
.contentINTRO div[style*="background"] h3,
.contentINTRO div[style*="background"] h4,
.contentINTRO div[style*="background-color"] h2,
.contentINTRO div[style*="background-color"] h3,
.contentINTRO div[style*="background-color"] h4,
.contentSUMMARY div[style*="background"] h2,
.contentSUMMARY div[style*="background"] h3,
.contentSUMMARY div[style*="background"] h4,
.contentSUMMARY div[style*="background-color"] h2,
.contentSUMMARY div[style*="background-color"] h3,
.contentSUMMARY div[style*="background-color"] h4 {
    color: #2c3e50 !important;
}

/* Ensure paragraphs and lists in light background nested divs are dark */
.contentINTRO div[style*="background"] p,
.contentINTRO div[style*="background"] ul,
.contentINTRO div[style*="background"] ol,
.contentINTRO div[style*="background"] li,
.contentINTRO div[style*="background-color"] p,
.contentINTRO div[style*="background-color"] ul,
.contentINTRO div[style*="background-color"] ol,
.contentINTRO div[style*="background-color"] li,
.contentSUMMARY div[style*="background"] p,
.contentSUMMARY div[style*="background"] ul,
.contentSUMMARY div[style*="background"] ol,
.contentSUMMARY div[style*="background"] li,
.contentSUMMARY div[style*="background-color"] p,
.contentSUMMARY div[style*="background-color"] ul,
.contentSUMMARY div[style*="background-color"] ol,
.contentSUMMARY div[style*="background-color"] li {
    color: #333 !important;
}

/* Specific classes for reusable colored boxes with proper contrast */
.light-box {
    background: #f8f9fa;
    color: #333 !important;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.light-box h2,
.light-box h3,
.light-box h4 {
    color: #2c3e50 !important;
}

.light-box p,
.light-box ul,
.light-box ol,
.light-box li {
    color: #333 !important;
}

.info-box {
    background: #e3f2fd;
    color: #1565c0 !important;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #1565c0;
}

.info-box h2,
.info-box h3,
.info-box h4 {
    color: #1565c0 !important;
}

.info-box p,
.info-box ul,
.info-box ol,
.info-box li {
    color: #0d47a1 !important;
}

.success-box {
    background: #e8f5e9;
    color: #2e7d32 !important;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #2e7d32;
}

.success-box h2,
.success-box h3,
.success-box h4 {
    color: #2e7d32 !important;
}

.success-box p,
.success-box ul,
.success-box ol,
.success-box li {
    color: #1b5e20 !important;
}

.warning-box {
    background: #fff8e1;
    color: #f57c00 !important;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #ffa000;
}

.warning-box h2,
.warning-box h3,
.warning-box h4 {
    color: #f57c00 !important;
}

.warning-box p,
.warning-box ul,
.warning-box ol,
.warning-box li {
    color: #e65100 !important;
}

/* Dark gradient boxes that can safely have white text */
.gradient-box-dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.gradient-box-dark h2,
.gradient-box-dark h3,
.gradient-box-dark h4 {
    color: white !important;
    margin-top: 0;
}

.gradient-box-dark p,
.gradient-box-dark ul,
.gradient-box-dark ol,
.gradient-box-dark li {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Vision/Hero boxes with proper contrast */
.vision-box {
    background: #f0f7ff;
    color: #0d47a1 !important;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border: 2px solid #3498db;
}

.vision-box h2,
.vision-box h3,
.vision-box h4 {
    color: #3498db !important;
    margin-top: 0;
}

.vision-box p,
.vision-box ul,
.vision-box ol,
.vision-box li {
    color: #0d47a1 !important;
}

.hero-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-box h2,
.hero-box h3,
.hero-box h4 {
    color: white !important;
}

.hero-box p,
.hero-box ul,
.hero-box ol,
.hero-box li {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .container h1 {
        font-size: 1.8em;
    }
    
    .container h2 {
        font-size: 1.5em;
    }
    
    .contentINTRO, .contentWebpage, .contentSUMMARY {
        padding: 20px;
    }
}
