/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}
img,
video {
  max-width: 100%;
  height: auto;
}


/* Header Styles */
header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
  height: 100px;                  /* was 70px */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}
.header-container {
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo-container.vertical-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.logo-icon {
  max-height: 78px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

/* --- Dropdown & Responsive Enhancements (OraDigit) --- */
.main-header { position: sticky; top: 0; z-index: 1000; background: #f8f8f8; }

.mobile-menu-toggle {
  display: none;
  background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer;
}

.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none; border: 0; font: inherit; color: #444; cursor: pointer;
  padding: 4px 0; letter-spacing: .2px;
}

/* Desktop dropdown behavior */
.has-dropdown:focus-within > .dropdown-menu,
.has-dropdown:hover > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid #e5e5e5; border-radius: 8px;
  padding: .5rem 0; box-shadow: 0 10px 25px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease;
}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block; padding: .6rem 1rem; color: #333; text-decoration: none; font-size: .92rem;
}
.dropdown-menu a:hover { background: #f5f7ff; color: #1a53ff; }

/* Header CTA */
.btn-cta {
  display: inline-block; padding: .55rem .9rem; border-radius: 8px;
  background: #1a53ff; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: filter .2s ease;
}
.btn-cta:hover { filter: brightness(.92); }

/* Mobile layout */
@media (max-width: 980px) {
  .mobile-menu-toggle { display: inline-block; }

  .main-nav {
    position: fixed; inset: 70px 0 auto 0; background: #fff; border-top: 1px solid #eee;
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav-links.open ~ .header-right { display: none; } /* keep header tidy when menu open */

  .nav-links {
    flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1rem;
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1; visibility: visible;
  }

  .nav-links > li { padding: .4rem 0; }
  .has-dropdown .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0;
  }
  .dropdown-toggle { width: 100%; text-align: left; padding: .6rem 0; }
  .dropdown-menu a { padding: .5rem 0  .5rem 1rem; }

  .header-right { display: none; } /* optional: keeps top clean on mobile */
}


/* Right Header Buttons */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.auth-link {
  font-size: 0.85rem;
  color: #3366ff;
  text-decoration: none;
}

.divider {
  color: #aaa;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.search-btn img {
  height: 20px;
  width: 20px;
  display: block;
}

/* Hero */
.hero {
  background-color: #e9ecef;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007acc;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #005fa3;
}

/* Sections */
section {
  padding: 3rem 0;
}

section.light {
  background-color: #f9f9f9;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-list li {
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 6px;
  transition: box-shadow 0.3s ease;
}

.service-list li:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #ccc;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 30px;
}

.footer-nav,
.footer-contact {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-nav a {
  margin: 0 0.5rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #007acc;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #666;
}
/* Cookie Consent Banner */
/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1a1a1a;
  max-width: 680px;
  width: 90%;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  z-index: 9999;
  text-align: center;
}

.cookie-banner p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.cookie-banner a {
  color: #0033cc;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Manage Preferences Button */
.cookie-buttons .btn-outline {
  background: transparent;
  color: #0033cc;
  border: 1.5px solid #0033cc;
}

.cookie-buttons .btn-outline:hover {
  background: #e6f0ff;
}

/* Accept Cookies Button - Bright Blue Theme */
.cookie-buttons .btn-solid {
  background: #007bff; /* bright blue */
  color: #ffffff;
}

.cookie-buttons .btn-solid:hover {
  background: #0056b3; /* darker blue on hover */
  transform: scale(1.05);
}

.cookie-buttons .btn-solid:active {
  background: #28a745 !important; /* green when clicked */
}

.footer-grid {
  background: #f9f9f9;
  padding: 3rem 1rem;
  border-top: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
  color: #111;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-width: 140px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
}

.subscribe-form button {
  padding: 0.7rem 1.2rem;
  background-color: #1a53ff;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 0.3rem;
}

.footer-links-list a {
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.footer-social img:hover {
  filter: none;
}

.footer-address,
.footer-email {
  font-size: 0.9rem;
  color: #333;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 2rem;
}
.contact-section {
  background-color: #f7f9fc;
  padding: 4rem 1rem;
}

.contact-card {
  background: white;
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.contact-card h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-card p {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  color: #333;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.privacy-note {
  font-size: 0.88rem;
  color: #555;
  margin: 1.8rem 0 1rem;
  line-height: 1.6;
}

.privacy-note a {
  color: #0033cc;
  text-decoration: underline;
}

.submit-btn {
  padding: 0.9rem 2rem;
  background-color: #1a53ff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #0033cc;
}
/* Overview Page Styles */
.overview-hero {
  background-color: #f9fbfd;
  padding: 4rem 1rem;
  text-align: center;
}

.overview-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.overview-hero .lead {
  font-size: 1.2rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}

.overview-section {
  background-color: #ffffff;
  padding: 3.5rem 1rem;
  color: #222;
}

.overview-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.overview-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto;
}

.overview-capabilities {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-size: 1rem;
}

.overview-capabilities li {
  line-height: 1.6;
}

.learn-more {
  text-align: center;
  font-size: 1.05rem;
  margin-top: 2rem;
}
/* Approach Page Styles */
.approach-hero {
  background-color: #f1f8fc;
  padding: 4rem 1rem;
  text-align: center;
}

.approach-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.approach-hero .lead {
  font-size: 1.2rem;
  color: #444;
  max-width: 750px;
  margin: 0 auto;
}

.approach-section {
  background-color: #ffffff;
  padding: 3.5rem 1rem;
}

.approach-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.approach-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 2rem;
}

.approach-principles {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-size: 1rem;
  color: #222;
}

.approach-principles li {
  line-height: 1.6;
}

.learn-more {
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
}
/* Labs Page Styles */
.labs-hero {
  background-color: #f1f8fc;
  padding: 4rem 1rem;
  text-align: center;
}

.labs-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.labs-hero .lead {
  font-size: 1.2rem;
  color: #444;
  max-width: 750px;
  margin: 0 auto;
}

.labs-section {
  background-color: #ffffff;
  padding: 3.5rem 1rem;
}

.labs-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.labs-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 2rem;
}

.learn-more {
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
}
/* Case Studies Page */
/* Case Studies - Consistent Layout */
.case-hero {
  background-color: #f1f8fc;
  padding: 4rem 1rem;
  text-align: center;
}

.case-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.case-hero .lead {
  font-size: 1.15rem;
  color: #444;
  max-width: 750px;
  margin: 0 auto;
}

.case-section {
  background-color: #ffffff;
  padding: 3.5rem 1rem;
}

.case-section h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.case-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

.case-link {
  display: inline-block;
  color: #1a53ff;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
}

.case-link:hover {
  text-decoration: underline;
}
/* Insights Page Styles */
/* Insights Page */
.insights-hero {
  background-color: #f1f8fc;
  padding: 4rem 1rem;
  text-align: center;
}

.insights-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.insights-hero .lead {
  font-size: 1.2rem;
  color: #444;
  max-width: 750px;
  margin: 0 auto;
}

.insights-section {
  background-color: #ffffff;
  padding: 3.5rem 1rem;
}

.insights-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.insights-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.read-more {
  text-align: left;
  max-width: 850px;
  margin: 0 auto;
}

.read-more a {
  font-weight: 600;
  color: #1a53ff;
  text-decoration: none;
}

.read-more a:hover {
  text-decoration: underline;
}
.legal-page {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  max-width: 850px;
  margin: 0 auto 1rem;
}
.team-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-role {
  background-color: #ffffff;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.team-role:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.team-role h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  color: #1a1a1a;
}

.team-role p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #1a53ff;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

#backToTop:hover {
  background-color: #0033cc;
}
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.cookie-modal .modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.cookie-modal h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.cookie-modal label {
  display: block;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}
/* Chatbot Widget Container */
#chatbot-container {
  position: fixed;
  bottom: 20px;      /* distance from bottom of viewport */
  right: 20px;       /* distance from right of viewport */
  width: 320px;      /* match your box width */
  z-index: 9999;     
  /* establish positioning context */
}

/* Toggle Button */
#chatbot-toggle {
  background-color: #2a4bff;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative; 
  z-index: 101;       /* ensure it sits above the box */
}
 #chatbot-toggle:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

/* Chat Window */
#chatbot-box {
  position: absolute;  
  bottom: 60px;         /* 50px button height + 10px gap */
  right: 0;
  width: 320px;
  max-height: 400px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;            /* remove previous margin-bottom */
}

/* Hide when toggled off */
.hidden {
  display: none;
}

/* Header */
#chatbot-header {
  background-color: #2a4bff;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

/* Messages area */
#chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 0.9rem;
}

/* Input field */
#chatbot-input {
  border: none;
  border-top: 1px solid #ddd;
  padding: 10px;
  outline: none;
}
/* Chatbot Widget */
#chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  z-index: 9999;
}
#chatbot-toggle {
  background: #1a53ff;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
#chatbot-box {
  display: none;
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  max-height: 400px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  flex-direction: column;
  overflow: hidden;
}
#chatbot-box:not(.hidden) { display: flex; }
#chatbot-header {
  background: #1a53ff;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}
#chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 0.9rem;
}
#chatbot-input {
  border: none;
  border-top: 1px solid #ddd;
  padding: 10px;
  outline: none;
}
.hidden {
  display: none !important;
}
<style>
  /* Back-to-top arrow styling */
  #back-to-top {
    position: fixed;
    bottom: 90px;    /* raise it above the chatbot at 20px */
    right: 20px;     /* same right margin as the chatbot */
    z-index: 10001;  /* above chatbot’s 9999 */
    cursor: pointer;
    pointer-events: auto;
  }
</style>
/* NAVIGATION */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* MEDIUM SCREENS (tablets) */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;    /* adjust to nav height */
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .mobile-menu-toggle {
    display: block;
  }

  /* Stack hero text */
  .hero .container {
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* SMALL SCREENS (phones) */
@media (max-width: 480px) {
  /* Make service-list stack */
  .service-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Shrink headings */
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  /* Adjust padding on sections */
  section {
    padding: 2rem 0;
  }

  /* Forms full-width */
  form input,
  form textarea,
  form button {
    width: 100%;
  }
}
/* --- Nav readability & spacing fixes --- */
.nav-links { 
  list-style: none; 
  display: flex; 
  align-items: center; 
  gap: 1.8rem;           /* more spacing between items */
  margin: 0; 
  padding: 0;
}

.nav-links > li > a,
.dropdown-toggle {
  font-size: 1rem;       /* larger text */
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 0;
  letter-spacing: .2px;
}

.nav-links > li > a:hover,
.dropdown-toggle:hover {
  color: #1a53ff;
}

/* Active/selected link */
.nav-links a.active,
.nav-links a[aria-current="page"],
.has-dropdown > .dropdown-toggle[aria-expanded="true"] {
  color: #1a53ff;
  border-bottom: 2px solid #1a53ff;
}

/* Remove any unexpected list bullets in some browsers */
.nav-links, .dropdown-menu { list-style: none; }

/* Make sure visited links don’t turn purple */
.nav-links a:visited { color: #1a1a1a; }
.nav-links a.active:visited { color: #1a53ff; }

/* Keep header tidy */
.logo-text { display: none; }        /* hides any leftover label just in case */
.search-btn { display: none; }       /* remove non-working search icon */

/* Optional: slightly taller header for breathing room */
header.main-header { min-height: 72px; }
/* --- Nav readability fix (wins over older rules) --- */
.main-header .main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;                 /* more space between items */
}

.main-header .nav-links > li > a,
.main-header .dropdown-toggle {
  font-size: 1.05rem;          /* larger text */
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 10px 0;             /* a little taller click target */
  letter-spacing: 0.2px;
}

/* hover/focus */
.main-header .nav-links > li > a:hover,
.main-header .dropdown-toggle:hover,
.main-header .nav-links > li > a:focus-visible,
.main-header .dropdown-toggle:focus-visible {
  color: #1a53ff;
}

/* active/current page state */
.main-header .nav-links a.active,
.main-header .nav-links a[aria-current="page"],
.main-header .has-dropdown > .dropdown-toggle[aria-expanded="true"] {
  color: #1a53ff;
  border-bottom: 2px solid #1a53ff;
}

/* don't let visited turn purple */
.main-header .nav-links a:visited { color: #1a1a1a; }
.main-header .nav-links a.active:visited,
.main-header .nav-links a[aria-current="page"]:visited { color: #1a53ff; }

/* mobile can be a bit tighter */
@media (max-width: 980px) {
  .main-header .main-nav .nav-links { gap: 1rem; }
  .main-header .nav-links > li > a,
  .main-header .dropdown-toggle { font-size: 1rem; }
}
/* --- Mobile menu display (authoritative) --- */
@media (max-width: 980px) {
  .main-header { position: relative; z-index: 1000; }
  .main-nav {
    display: none;                     /* hidden by default on mobile */
    position: absolute;
    top: 70px;                         /* your header height */
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 0.75rem 1rem;
    z-index: 1001;                     /* above page content */
  }
  .main-nav.open { display: block; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
  }
  .nav-links.open { display: flex; }   /* belt-and-suspenders */

  .header-right { display: none; }     /* keep top clean on mobile */

  /* Make dropdowns simple lists on mobile */
  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0.25rem 0 0 0;
  }
  .dropdown-toggle { pointer-events: none; } /* label only on mobile */
  
  /* Optional: prevent body scroll when menu is open */
  body.nav-open { overflow: hidden; }
}
/* Overview page polish */
.overview-hero .cta-row { display:flex; gap:1rem; flex-wrap:wrap; margin-top:1rem; }
.btn.btn-ghost { background:transparent; border:1px solid var(--text-weak, #d0d7de); }
.pillars { display:grid; gap:.5rem; margin:1rem 0 0; padding-left:1.1rem; }
.grid-two { display:grid; grid-template-columns: 1fr; gap:1.5rem; }
.delivery-steps { counter-reset: step; margin-left:1rem; }
.delivery-steps li { margin:.5rem 0; }
@media (min-width: 768px) {
  .grid-two { grid-template-columns: 1fr 1fr; }
}
/* Contact page */
.contact-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: 2rem;
}
.contact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.contact-card .lead { margin: .25rem 0 1.25rem; color: #444; }
.contact-form .form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-label { display:block; font-weight:600; margin-bottom:.35rem; }
input[type="text"], input[type="email"], select, textarea {
  width:100%; padding:.75rem; border:1px solid #cbd5e1; border-radius:6px; font-size:1rem;
}
textarea { resize: vertical; }
.radio, .checkbox { display:inline-flex; gap:.5rem; align-items:center; margin-right:1rem; }
.hint { display:block; color:#6b7280; margin-top:.25rem; font-size:.9rem; }
.actions { display:flex; gap:.75rem; align-items:center; margin-top:1rem; }
.btn.btn-ghost { background:transparent; border:1px solid #d0d7de; color:#111827; padding:.65rem 1rem; border-radius:6px; text-decoration:none; }
.submit-btn { background:#2a4bff; color:#fff; padding:.75rem 1.25rem; font-weight:600; border:none; border-radius:6px; cursor:pointer; }
.submit-btn:hover { background:#1a3be3; }

/* Sidebar */
.contact-aside { display:grid; gap:1rem; }
.contact-aside-card {
  background:#f8fafc; border:1px solid #e5e7eb; border-radius:8px; padding:1rem 1.25rem;
}
.contact-aside-card h3 { margin-bottom:.5rem; }

/* Responsive */
@media (min-width: 980px) {
  .contact-section {
    grid-template-columns: 3fr 1.3fr;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
/* Careers */
.bullets { padding-left: 1.25rem; }
.bullets li { margin:.4rem 0; }

.muted { color:#6b7280; }

.role-grid { display:grid; grid-template-columns:1fr; gap:1rem; margin-top:1rem; }
.role-card { border:1px solid #e5e7eb; border-radius:8px; padding:1rem 1.25rem; background:#fff; }
.role-card h3 { margin-bottom:.25rem; }
.role-card .badge { display:inline-block; font-size:.8rem; padding:.2rem .5rem; border:1px solid #d0d7de; border-radius:999px; }

.contact-form .form-group { margin-bottom:1rem; }
.form-row { display:grid; grid-template-columns:1fr; gap:1rem; }
.form-label { display:block; font-weight:600; margin-bottom:.35rem; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width:100%; padding:.75rem; border:1px solid #cbd5e1; border-radius:6px; font-size:1rem;
}
textarea { resize:vertical; }
.radio, .checkbox { display:inline-flex; gap:.5rem; align-items:center; margin-right:1rem; }
.actions { display:flex; gap:.75rem; align-items:center; margin-top:1rem; }
.btn.btn-ghost { background:transparent; border:1px solid #d0d7de; color:#111827; padding:.65rem 1rem; border-radius:6px; text-decoration:none; }

/* Boards buttons */
.board-buttons { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:.5rem; }

/* Section spacing */
.careers-why, .careers-openings, .careers-form, .careers-boards, .careers-faq { padding:3rem 0; }

/* Responsive */
@media (min-width: 900px) {
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}
/* Insights page */
.insight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.insight-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.insight-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.insight-card p {
  color: #444;
  margin-bottom: 1rem;
}

.insights-cta h2 {
  margin-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .insight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Labs page (reuses Insights card grid) */
.bullets { padding-left: 1.25rem; }
.bullets li { margin:.4rem 0; }
/* Skills page only (scoped by .page-skill on <body>) */

/* Skills page — match site light theme (dark text on white background) */

.page-skill {
  background: #ffffff;        /* white page background */
  color: #1a1a1a;             /* dark text */
}

/* Hero and section titles */
.page-skill .docs-hero,
.page-skill .section-title,
.page-skill h1,
.page-skill h2,
.page-skill h3 {
  color: #111111;
}

/* Cards */
.page-skill .doc-card {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Card text */
.page-skill .doc-card p,
.page-skill .doc-card ul,
.page-skill .doc-card li {
  color: #333333;
}

/* Inputs (search box, etc.) */
.page-skill .docs-search input {
  background: #f9f9f9;
  color: #1a1a1a;
  border: 1px solid #ccc;
}

/* Links */
.page-skill a {
  color: #0056b3;
  text-decoration: underline;
}
.page-skill a:hover {
  color: #003f80;
}

/* FAQ details */
.page-skill .faq summary {
  color: #1a1a1a;
}
.page-skill .faq details {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
}

/* Buttons */
.page-skill .btn {
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  background: #ffffff;
}
.page-skill .btn-primary {
  background: #1a1a1a;
  color: #ffffff;
}
/* OraDigit Skills Hub Styles (skill.css) */

/* Reset overrides */
.page-skill {
  background: #fff;
  color: #222;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

/* Hero */
.docs-hero {
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.docs-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #111;
}

.docs-hero .lead {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

/* Search */
.docs-search {
  margin: 2rem auto;
  max-width: 500px;
}

.docs-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.docs-search .muted {
  font-size: 0.9rem;
  color: #666;
}

/* CTA Buttons */
.cta-row {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #004aad;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #00337a;
}

.btn {
  border: 1px solid #004aad;
  color: #004aad;
  background: #fff;
}

.btn:hover {
  background: #f2f7ff;
}

/* Section title */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2rem auto 1rem;
  text-align: center;
  color: #111;
}

/* Grid Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.doc-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.doc-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.doc-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  color: #111;
}

.doc-card p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.doc-card ul {
  padding-left: 1.2rem;
  margin: 0;
}

.doc-card li {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.doc-card a {
  color: #004aad;
  text-decoration: none;
}

.doc-card a:hover {
  text-decoration: underline;
}

.doc-card .coming {
  color: #888;
  font-style: italic;
}

.label {
  background: #e6f0ff;
  color: #004aad;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

/* FAQs */
.faq details {
  margin-bottom: 0.75rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  color: #004aad;
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #333;
}
