:root{
  --bg:#FCD633;
  --bg-panel:#3CC3B5;
  --bg-elevated:#222a35;
  --border:#E5E4E5;
  --text:#E5E4E5;
  --text-muted:#E5E4E5;

  --ember:#e8873a;        /* brake-light / campfire accent */
  --ember-dim:rgba(232,135,58,.14);
  --highway:#2f8f5b;      /* highway-sign green */
  --highway-dim:rgba(47,143,91,.14);
  --caution:#e3b341;      /* road-marking yellow */
  --caution-dim:rgba(227,179,65,.14);
  --sky:#4f8fd1;          /* dusk-sky blue, used for water gauge */
  --sky-dim:rgba(79,143,209,.14);
  --danger:#d1554f;

  --font-display:'Rajdhani', sans-serif;
  --font-body:'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:'JetBrains Mono', monospace;
}

*{box-sizing:border-box;}
 body { font-size: 0.95rem;line-height: 1.4; font-family: Arial, sans-serif; margin: 0; background: #f5f5f5; }
.header { background: linear-gradient(135deg, #FCD633, #f0932b);
            color: white; padding: 30px;
            border-radius: 12px 12px 0 0; /* TL TR BR BL */
            text-align: center; }
.header h1 { font-size: 2.0rem; margin-bottom: 10px; padding: 4px; font-weight: 700; }
.header p { font-size: 1.0rem; opacity: 0.9; }
    h1, h2 { font-size: 1.0em; margin: 0px; padding: 4px;}
    h1 { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
    h2, h3 { color: #0E5077; }
nav.breadcrumb { font-size: 0.7em; color:darkgrey;margin: 0px; display: flex; gap: 5px; white-space: nowrap; padding: 2px; }
nav.breadcrumb a { color: #0056b3; text-decoration: none; }
nav.breadcrumb a:hover { color: #01447e; text-decoration: underline; }
.custom-page {
            background: linear-gradient(135deg, #FCD633, #f0932b);
            min-height: 100vh;
            padding: 20px;
            max-width: 100%; }
.custom-container {
            margin: 0 auto;
            font-family: 'Arial', sans-serif;
            background: #f9f9f9;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 5px 10px 3px rgba(0,0,0,0.2); }
.custom-content {
	    display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: left; /* only effective inside a flex */
            text-align: left;
	    background: #fcfcf7;
	    margin: 10px auto;
            padding: 20px; }
.brand{display:flex;align-items:center;gap:11px;padding:0 6px 12px;border-bottom:1px solid var(--border);}
.brand-mark{
  width:40px;height:40px;border-radius:9px;flex-shrink:0;
  background:linear-gradient(135deg,#FCD633,var(--caution));
  display:flex;align-items:center;justify-content:center;font-size:19px;
}
.brand-text{display:block;font-family:var(--font-display);font-weight:700;font-size:20px;letter-spacing:.3px;line-height:1.1;}
.brand-rv {align-items:center;background:#FCD633;color:#1A1B5C;}
.hub{background:#FCD633;color:#3CC3B5;}
.brand-360{background:#FCD633;color:#FD6A49;}
.brand-sub{font-size:10.5px;color:#1A1B5C;letter-spacing:1px;text-transform:uppercase;margin-top:13px;margin-bottom:13px;}
.fa {padding-right: 6px;}
.social { position: absolute; width: 190px; bottom: 1%; flex-direction: row; justify-content: center; display: flex; gap: 12px; font-size: 26px; }
    .social a:hover, .social2 a:hover { transform: scale(1.1); transition: transform 0.2s ease-in-out; }
.social2 { width: 190px; flex-direction: row; justify-content: center; display: flex; gap: 12px; font-size: 26px; }
    .tag { position: absolute; top: 2%; left: 16%; font-size: 0.8em; margin: 0; z-index: 5; color: green; padding: 0; }
    .tag2 { position: absolute; top: 2%; right: 5%; font-size: 0.8em; margin: 0; z-index: 5; color: green; padding: 0; }
    .sidebar { width: 186px; background: linear-gradient(135deg, #FCD633, #f0932b); color: #fff; padding: 10px; }
    .sidebar h3 { margin-bottom: 2px; user-select: none; transition: all 0.3s ease; }
    .sidebar2 { font-size: 0.9em; color: #fff; padding: 8px; cursor: pointer; }
    .sidebar2.collapsed .toggle-arrow { transform: rotate(-180deg); cursor: pointer; }
    .sidebar2.collapsed .external-links { max-height: 0; margin-bottom: 34px; cursor: pointer; }
.sidebar3{
  width:252px;flex-shrink:0;background:var(--bg-panel);border-right:1px solid var(--border);
  display:flex;flex-direction:column;padding:22px 14px;position:sticky;top:0;height:100vh;overflow-y:auto;
  transition:transform .25s ease;z-index:40;
}
.sidebar3-footer{margin-top:auto;padding-top:16px;border-top:1px solid var(--border);font-size:11.5px;color:var(--text-muted);line-height:1.6;}
.sidebar3-footer a{color:var(--highway);text-decoration:none;}
.external-links a { display: block; width: 100%; }
.external-links button { display: block; width: 100%; margin: 6px 0;
    padding: 4px; border: none; background: #007cba;
    color: white; border-radius: 3px; cursor: pointer; }    
    .external-links button:hover { background: #005a87; }
    .external-links { overflow: hidden; transition: max-height 0.3s ease; max-height: 440px; }
    .sidebar button { font-size: 0.7em; display: block; width: 100%; padding: 4px; margin-bottom: 6px; border: none; clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%); background: grey; color: #fff; cursor: pointer; text-align: left; }
    .sidebar button:hover { background: #0E5077; color: #FFFF00; }

/* Sidebar category buttons active state */
    .sidebar button.active { background: #0E5077; color: #FFFF00; font-weight: bold; transform: translateX(5px); /* Slight indent effect */ box-shadow: 2px 0 8px rgba(14, 80, 119, 0.3); }    
    .content { flex: 1; padding: 8px; overflow-y: auto; }
    .tabs button { font-size: 0.6em; padding: 5px; border: none; background: #0073e6; color: #fff; border-radius: 12px 12px 0 0; /* TL TR BR BL */ cursor: pointer; }
    .tabs button:hover { background: #005bb5; }

    .target { position: absolute; width: 260px; bottom: 0.5%; left: 36%; }
#copyright { white-space: nowrap; font-size: 0.7em; text-align: right; padding-right: 10px; color: darkgrey; }
    #toolbox-logo { width: 32px; height: 32px; display: inline-block; padding-right: 12px; 
    background: url('../image/on-page-seo.png') no-repeat center center; background-size: contain; }
    .container { display: flex; height: 100vh; }
blockquote {
  background: linear-gradient(135deg, #e8f4ff, #f0f8ff);
  border-left: 5px solid #2196F3; 
  border-radius: 10px; text-align: left;
  margin: 1.2em 0; /* Vertical margin for spacing, no horizontal margin */
  padding: 0.5em 1em; 
  font-style: italic; 
  color: #0E5077;
  line-height: 1.4; }
blockquote:before { color: #E73D50;
  font-family: Georgia, "Times New Roman", serif;
  content: open-quote;
  font-size: 4.6em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em; }
blockquote p { display: inline; }
blockquote a {display: inline-block !important;}

.faq { padding: 20px; margin: 14px;}
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: #000; color: #fff;
  padding: 8px; text-decoration: none; z-index: 100;
}
.skip-link:focus { top: 0; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
/* Active tab button styling */
    .tabs button.active { background: #4CAF50; /* Green background for active state */
    color: white; font-weight: bold; box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3); /* Subtle shadow */
    transform: translateY(-2px); /* Slight lift effect */ border-bottom: 3px solid #45a049; /* Bottom accent border */ }
    .tab-content { display: none; margin-top: 6px; }
    .tab-content.active { display: block; }
    iframe { width: 100%; height: 490px; border: 1px solid #ccc; border-radius: 4px; }
.cta-buttons { font-size: 1.0em; margin-top: 5px; margin-right: 8px; }
.cta-seo, .cta-white { display: inline-block; 
    font-size: 0.6em; 
    text-align: left; text-decoration: none;
    color: white !important; 
    border: none; cursor: pointer; 
    padding: 5px; border-radius: 8px; opacity: 1;}
.cta-seo { background: #CC5500 !important; }
.cta-white { background: #3D8B40; }
.cta-seo:hover, .cta-white:hover { background-color: #0E5077 !important; color: #FFFF00 !important; transform: scale(1.1); box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.5); }
/* Social share */
.custom-share { display: flex; gap: 12px; margin: 1rem 0; padding: 20px; align-items: center;}
.custom-share a { display: inline-block; width: 30px; height: 30px; }
.custom-share a img { width: 100%; height: 100%; object-fit: contain; }
.custom-share img:hover { transform: scale(0.85); }
/* Back to top */
#backToTop { display: none; position: fixed; bottom: 30px; right: 50%; z-index: 99; font-size: 20px; background-color: #0E5077; color: white; border: none; outline: none; cursor: pointer; padding: 10px; border-radius: 50%; box-shadow: 0 4px 8px rgba(0,0,0,0.3); transition: all 0.3s ease; }
#backToTop:hover { background-color: #555; transform: scale(1.1); }
/* Misc */
.ada-compliant img { position: fixed; z-index: 9; top: 8%; left:2%; width: 80px; height: 80px;}
.ada-compliant img:hover { transform: scale(1.1); border-radius: 6px; box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.5); }
a { display: inline-block !important; text-decoration: none;}
a:focus, button:focus { outline: 3px solid #ff8c00; outline-offset: 2px; }
.updated-date { display: flex; font-size: 0.9em; text-align: right; justify-content: right; }
.legal { justify-content: right; text-align: right !important; margin-bottom: 14px; padding: 4px; }
.disclaimer { font-size: 0.9em; background: #fff3cd; border: 1px solid #ffeeba; padding: 15px; margin-top: 40px; }
code {background: #eee; padding: 4px 6px; border-radius: 4px; display: inline-block; font-family: 'Courier New', monospace; }
i.fa-dot-circle-o { font-size: 0.7em; color: #0000FF; }
/* Overlay background */
    .popup-overlay { display: none; /* hidden by default */ position: fixed; top: 0; left: 35%; width: 450px; margin: 10px auto; z-index: 9999; }
/* Popup box */
    .popup-content { position: relative; cursor: move; width: 100%; height: 100%; background: #fff; padding: 20px; border-radius: 8px; margin: 10px auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); animation: fadeIn 0.3s ease; }

/* Close button */
   .close-btn { position: absolute; top: 10px; right: 15px; font-size: 28px; cursor: pointer; color: red; }
   .close-btn:hover { color: #000; }

/* Simple animation */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
  .bio-form { margin-top: 1rem; max-width: 100%; background: #f9fbfc;
    padding: 1.5rem; border-radius: 12px; backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
   .modal-header h2 { margin: 0; font-size: 18px; font-weight: 600; }
   .modal-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white; padding: 12px; text-align: center; }
  .bio-form label { display: block; margin-bottom: 0.6rem; font-weight: 600; color: #333; font-size: 0.7rem; }
  .bio-form input, .bio-form textarea { width: 100%; padding: 6px; margin-top: 0.2rem; border: 1px solid #ccc;
    border-radius: 4px; font-size: 0.7rem; transition: border 0.2s ease; box-sizing: border-box; }
  .bio-form input:focus, .bio-form textarea:focus { border-color: #0072b1; outline: none; }
  .bio-form button {
    background: blue; color: white;
    padding: 0.75rem 1.5rem;
    border: none; border-radius: 6px;
    font-weight: bold; font-size: 0.9rem;
    cursor: pointer; margin-top: 1rem;
    transition: background 0.3s ease; }

  .bio-form button:hover { background: #0072b1; }

.g-recaptcha iframe { border: none !important; box-shadow: none !important; }
.floating-tooltip {
  position: absolute;
  top: 25px; right: 25px;
  z-index: 100;
  font-family: sans-serif;
}
.tooltip-icon {
  cursor: pointer;
  font-size: 40px; color: orange; 
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); /* offset-x | offset-y | blur-radius | color */
}
.tooltip-text {
  visibility: hidden;
  width: 180px;
  background-color: rgba(0,0,0,0.85);
  color: #fff;
  text-align: left;
  padding: 8px;
  border-radius: 5px;
  position: absolute;
  top: 25px; right: 10px;
  font-size: 12px;
  line-height: 1.3;
}
.floating-tooltip:hover .tooltip-text {
  visibility: visible;
}
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
     .tooltip-badge {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
    .tooltip-badge .tooltip {
  visibility: hidden;
  position: absolute;
  width: 230px;
  bottom: 0.25%; right: 1%;
  padding: 8px;
  border-radius: 5px;
  background-color: #333;
  color: #fff;
  text-align: center;
  font-size: 12px;
  z-index: 100;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}
    .tooltip-badge:hover .tooltip { visibility: visible; opacity: 1; }


/* Enhanced Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1024px) {
  iframe { height: 500px; }
  .sidebar { width: 180px; padding: 12px; }
  .sidebar button { font-size: 0.65em; padding: 8px; }
  .tabs button { font-size: 0.55em; padding: 6px; }
  .floating-icons { right: 380px; gap: 20px; }
  .floating-icon { width: 25px; height: 25px; }
}

/* Tablets */
@media (max-width: 768px) {
  .container { flex-direction: column; height: auto; }
  .sidebar { width: 100%; order: 2; /* Move sidebar below content */
    padding: 10px; background-image: linear-gradient(90deg, #6699FF, #6666CC, #00CCFF); }
  .sidebar h3 { font-size: 0.9em; margin-bottom: 10px; }
  .sidebar button {
    display: inline-block;
    width: auto; margin: 2px; padding: 6px 10px;
    font-size: 0.6em; clip-path: none; /* Remove arrow shape on mobile */
    border-radius: 4px; }
  .content { order: 1; /* Content appears first */ padding: 10px; }
  iframe { height: 400px; }
  .tabs { display: flex; flex-wrap: wrap; gap: 2px; }
  .tabs button {
    font-size: 0.5em;
    padding: 5px 8px;
    flex: 1;
    min-width: 80px; }
  .cta-buttons { display: flex; flex-direction: column; gap: 8px; }
  .cta-buttons button { width: 100%; font-size: 0.65em; }
/* Adjust floating elements for tablets */
  .floating-tooltip { top: 10px; right: 10px; }
  .tooltip-icon { font-size: 30px; }
  .floating-icons { bottom: 20px; right: 20px; flex-direction: column; gap: 15px; }
  .floating-icon { width: 35px; height: 35px; }
/* Popup adjustments */
  .popup-overlay { left: 5%; width: 90%; top: 5%; }
  .popup-content { margin: 0; max-height: 90vh; overflow-y: auto; }
  .bio-form { padding: 1rem; }
  .bio-form label { font-size: 0.65em; }
  .bio-form input, .bio-form textarea { font-size: 0.65em; padding: 8px; }
}

/* Mobile phones */
@media (max-width: 480px) {
  body { font-size: 14px; }
  h1 { font-size: 0.9em; text-align: center; }
  h1 img { width: 24px; height: 24px; margin: 0 4px; }
  .sidebar { padding: 8px; }
  .sidebar h3 { font-size: 0.8em; }
  .sidebar button { font-size: 0.55em; padding: 4px 6px; margin: 1px; }
  .sidebar2 { padding: 8px; }
  .external-links button { font-size: 0.5em; padding: 6px; margin: 2px 0; }
  .content { padding: 5px; }
  iframe { height: 300px; }
  .tabs { margin-bottom: 5px; }
  .tabs button { font-size: 0.45em; padding: 4px 6px; min-width: 60px; border-radius: 6px 6px 0 0; }
  .cta-buttons button { font-size: 0.6em; padding: 8px; }
/* Hide floating tooltip on very small screens */
  .floating-tooltip { display: none; }
/* Simplify floating icons for mobile */
  .floating-icons { bottom: 10px; right: 10px; gap: 10px; }
  .floating-icon { width: 30px; height: 30px; }
  .floating-icon img { width: 20px !important; height: auto; }
  .tooltip-badge .tooltip { width: 150px; font-size: 10px; bottom: 35px; right: -50px; }
/* Popup full screen on mobile */
  .popup-overlay { left: 0; top: 0; width: 100%; height: 100%; margin: 0; }
  .popup-content {
    width: 100%; height: 100%; border-radius: 0;
    padding: 15px; box-sizing: border-box; }
  .close-btn { font-size: 24px; top: 5px; right: 10px; }
  .modal-header { padding: 8px; }
  .modal-header h2 { font-size: 16px; }
  .bio-form { padding: 0.5rem; }
  .bio-form label { font-size: 0.6em; margin-bottom: 0.4rem; }
  .bio-form input, .bio-form textarea { font-size: 0.6em; padding: 6px; }
  .bio-form button { font-size: 0.8em; padding: 10px; }
/* Copyright adjustment */
  #copyright { font-size: 0.6em; text-align: center; padding: 5px; }
}

/* Responsive adjustments for active states */
@media (max-width: 768px) {
    .tabs button.active {
        transform: none; /* Remove lift effect on mobile */
        border-bottom: 2px solid #45a049; /* Thinner border */
    }
    
    .sidebar button.active {
        transform: none; /* Remove indent on mobile */
    }
}

@media (max-width: 480px) {
    .tabs button.active {
        box-shadow: none; /* Remove shadows on small screens for performance */
        border-bottom: 1px solid #45a049;
    }
}
/* Extra small devices */
@media (max-width: 320px) {
  .sidebar button {
    font-size: 0.5em;
    padding: 3px 5px;
  }
  
  .tabs button {
    font-size: 0.4em;
    padding: 3px 5px;
    min-width: 50px;
  }
  
  iframe { height: 250px; }
  .floating-icons { gap: 8px; }
  .floating-icon { width: 25px; height: 25px; }
  .floating-icon img { width: 15px !important; }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .container { flex-direction: row; }
  .sidebar { width: 150px; order: 1; }
  .content { order: 2; }
  iframe { height: 250px; }
  
  .popup-overlay {
    top: 2%;
    height: 96%;
  }
}