* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  /* outline: 1px solid red; */
  font-family: "Google Sans", sans-serif;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  padding-top: 90px;
  /* background-color: purple !important; */
}

.custom-navbar {
  position: fixed !important;
  top: 0px;
  padding-right: 70px !important;
  padding-left: 70px !important;
  width: 100%;
  min-height: 50px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  /* border:2px solid blue; */
}

@media (max-width: 991.98px) {
  .custom-navbar {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}

@media (max-width: 576px) {
  .custom-navbar {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

.nav-item .nav-link {
  padding: 0px !important;
  font-size: 14px !important;
  line-height: 15px;
  /* font-family: Geist, Arial, sans-serif !important; */
}

.img-logo {
  height: auto;
  width: 120px;
}

.dropdown-menu {
  width: 100% !important;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0;
  padding-top: 30px !important;
  padding-right: 70px !important;
  padding-left: 70px !important;
}

.dropdown-menu .dropdown-item {
  font-size: 14px !important;
  line-height: 20px !important;
  color: #003333;
}

.image-cover .card-img-top {
  width: 100%;
  height: 180px !important;
  object-fit: cover;
}

.image-cover .card-title,
.image-cover .card-text {
  font-size: 14px !important;
  line-height: 20px !important;
}

.mega-link {
  display: block;
  border-radius: 12px;
  color: inherit;
}

/* item normal state */
.mega-item {
  padding: 12px;
  border-radius: 12px;
  background: transparent;
  transition: all 0.25s ease;
}

.mega-item .text-muted {
  font-size: 14px !important;
  line-height: 20px !important;
}

/* icon box */
.icon-box {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #e6f5e6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box img {
  width: 25px;
  height: 25px;
}

.text-box {
  flex: 1;
}

/* hover state */
.mega-link:hover .mega-item {
  background: #e6f5e6;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transform: translateX(5px);
}

.mega-link:hover .icon-box {
  transform: translateX(3px);
}

.dropdown-item {
  padding: 8px;
  border-radius: 12px;
  background: transparent;
  transition: all 0.25s ease;
}

.dropdown-item:hover {
  background: #c9e6c9;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transform: translateX(5px);
}

.menu-btn {
  border: none;
  background: none;
  font-size: 34px;
  padding: 0;
  line-height: 1;
  color: #003333;
}

.menu-btn .bi-x-lg {
  display: none;
  font-size: 0.7em;
}

.menu-btn.is-open .bi-list {
  display: none;
}

.menu-btn.is-open .bi-x-lg {
  display: inline;
}

.offcanvas-full {
  width: 100% !important;
}

.offcanvas {
  margin-top: var(--navbar-h, 80px) !important;
  height: calc(100vh - var(--navbar-h, 80px)) !important;
  z-index: 1050 !important;
}

.menu-center {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* container for each dropdown group */
.mobile-item {
  position: relative;
  width: 100%;
}

/* main link / accordion toggle */
.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 28px;
  font-weight: 600;
  color: #003333;
  text-decoration: none;
  text-align: left;
  border: none;
  background: none;
  padding: 4px 0;
}

a.mobile-link {
  justify-content: flex-start;
}

.mobile-link-icon {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.mobile-item.open .mobile-link-icon {
  transform: rotate(180deg);
}

/* hidden submenu */
.mobile-mega {
  display: none;
  margin-top: 10px;
  text-align: left;
  padding-left: 12px;
}

.mobile-item.open .mobile-mega {
  display: block;
  animation: mobile-mega-in 0.25s ease;
}

@keyframes mobile-mega-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* submenu links */
.mobile-sub {
  display: block;
  text-decoration: none;
  color: #555;
  padding: 6px 0;
  font-size: 18px;
}

/* buttons */
.mobile-action {
  width: 240px;
  padding: 14px 25px;
  border-radius: 40px;
}

/* Small screens: keep the fixed navbar on one row */
@media (max-width: 576px) {
  .img-logo {
    width: 100px;
  }

  .navbar-ledgrr-link {
    font-size: 12px !important;
    padding: 7px 14px !important;
  }

  .menu-btn {
    font-size: 28px;
  }

  .mobile-link {
    font-size: 22px;
  }

  .mobile-sub {
    font-size: 16px;
  }

  .mobile-action {
    width: 100%;
    max-width: 280px;
  }
}

.navbar-ledgrr-link {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 18px;
  padding: 8px 18px 8px 18px !important;
  background-color: #003333 !important;
  color: #ccffcc !important;
  white-space: nowrap;
}

.navbar-contact-ledgrr-links {
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 18px;
  padding: 7px 18px 7px 18px !important;
}

.right-links a {
  color: #003333;
  font-size: 14px !important;
  line-height: 20px;
}

/* for all links in all pages */
.ledgrr-link {
  font-size: 17px !important;
  line-height: 24px;
  padding: 10px 20px 10px 20px !important;
  background-color: #003333 !important;
  color: #ccffcc;
}

/* for all links in all pages */
.contact-ledgrr-links {
  font-size: 17px !important;
  line-height: 24px;
  padding: 8px 20px 8px 20px !important;
}

/* ── DualEntry-style nav2 mega dropdown ── */

.nav2-mega-container {
  display: flex;
  gap: 24px;
  padding: 24px 0;
}

.nav2-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.nav2-mega-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.nav2_links-grid_cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
}

.nav2_links-grid_cell-left_inner {
  flex-shrink: 0;
}

.nav2_links-grid_cell-right_inner {
  flex: 1;
  min-width: 0;
}

.nav2_cell-title {
  font-size: 15px;
  font-weight: 600;
  color: #003333;
  line-height: 20px;
  margin-bottom: 2px;
}

.nav2_cell-desc {
  font-size: 13px;
  line-height: 18px;
  color: rgba(0, 51, 51, 0.55);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nav2_links-grid_cell_arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translate(-8px, 0) scale(0.8);
  transition: all 0.25s ease;
  color: #003333;
  font-size: 16px;
}

.nav2_links-grid_cell:hover {
  background-color: #e6f5e6;
}

.nav2_links-grid_cell:hover .nav2_links-grid_cell_arrow {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.nav2_links-grid_cell:hover .nav2_cell-title {
  color: #004444;
}

.nav2_links-grid_cell .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e6f5e6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.nav2_links-grid_cell .icon-box i {
  font-size: 20px;
  color: #003333;
}

.nav2_links-grid_cell:hover .icon-box {
  background: #003333;
}

.nav2_links-grid_cell:hover .icon-box i {
  color: #ccffcc;
}

/* CTA panel inside mega dropdown */
.nav2-mega-cta {
  flex-shrink: 0;
  width: 260px;
  background: linear-gradient(135deg, #003333, #004444);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.nav2-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #ccffcc;
  margin: 0;
  line-height: 24px;
}

.nav2-cta-text {
  font-size: 14px;
  line-height: 20px;
  color: rgba(204, 255, 204, 0.7);
  margin: 0;
}

.nav2-cta-btn {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  background-color: #ccffcc !important;
  color: #003333 !important;
  border: none !important;
}

.nav2-cta-btn:hover {
  background-color: #e6ffe6 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive: stack grid on smaller screens */
@media (max-width: 1200px) {
  .nav2-mega-grid {
    grid-template-columns: 1fr;
  }

  .nav2-mega-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Dark mode for nav2 */
[data-theme="dark"] .nav2_links-grid_cell:hover {
  background-color: var(--bg-tertiary);
}

[data-theme="dark"] .nav2_cell-title {
  color: var(--text-primary);
}

[data-theme="dark"] .nav2_cell-desc {
  color: var(--text-muted);
}

[data-theme="dark"] .nav2_links-grid_cell .icon-box {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .nav2_links-grid_cell .icon-box i {
  color: var(--text-primary);
}

[data-theme="dark"] .nav2_links-grid_cell:hover .icon-box {
  background: #003333;
}

[data-theme="dark"] .nav2_links-grid_cell:hover .icon-box i {
  color: #ccffcc;
}

[data-theme="dark"] .nav2_links-grid_cell_arrow {
  color: var(--text-primary);
}

[data-theme="dark"] .nav2-mega-cta {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

/* DualEntry box design for Industries mega menu */
.nav2-section-label {
  font-size: 12px;
  font-weight: 700;
  color: #003333;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dfe6e6;
  width: 100%;
}

.nav2-mega-grid-boxed {
  gap: 0;
  border-top: 1px solid #dfe6e6;
  border-left: 1px solid #dfe6e6;
}

.nav2-mega-grid-boxed .nav2_links-grid_cell {
  border-right: 1px solid #dfe6e6;
  border-bottom: 1px solid #dfe6e6;
  border-radius: 0;
  background-color: #ffffff;
  padding: 18px 20px;
}

.nav2-mega-grid-boxed .nav2_links-grid_cell:hover {
  background-color: #f4f8f4;
  z-index: 1;
  box-shadow: 0 0 0 2px rgba(0, 51, 51, 0.08) inset;
}

.nav2-mega-grid-boxed .nav2_links-grid_cell .icon-box {
  border-radius: 0;
  width: 36px;
  height: 36px;
}

.nav2-mega-grid-boxed .nav2_links-grid_cell .icon-box i {
  font-size: 18px;
}

/* Scoped layout: stack label above grid in Industries dropdown only */
.nav2-mega-container--industries {
  flex-direction: column;
}

/* Dark mode for boxed grid */
[data-theme="dark"] .nav2-section-label {
  color: var(--text-primary);
  border-bottom-color: var(--bg-tertiary);
}

[data-theme="dark"] .nav2-mega-grid-boxed,
[data-theme="dark"] .nav2-mega-grid-boxed .nav2_links-grid_cell {
  border-color: var(--bg-tertiary);
}

[data-theme="dark"] .nav2-mega-grid-boxed .nav2_links-grid_cell {
  background-color: var(--bg-secondary);
}

[data-theme="dark"] .nav2-mega-grid-boxed .nav2_links-grid_cell:hover {
  background-color: var(--bg-tertiary);
  box-shadow: 0 0 0 2px rgba(204, 255, 204, 0.08) inset;
}

/* Multi-column mega dropdown layout */
.nav2-mega-columns {
  display: flex;
  gap: 20px;
  flex: 1;
}

.nav2-mega-col {
  flex: 1;
  min-width: 0;
}

.nav2-columns-3 .nav2-mega-col {
  max-width: 240px;
}

.nav2-columns-2 .nav2-mega-col {
  max-width: 280px;
}

.nav2-col-header {
  font-size: 13px;
  font-weight: 700;
  color: #003333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px 10px;
  margin-bottom: 4px;
  border-bottom: 2px solid #e6f5e6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav2-col-header i {
  font-size: 15px;
}

/* Boxed multi-column layout for Product mega menu */
.nav2-mega-columns-boxed {
  gap: 0;
  border-top: 1px solid #dfe6e6;
  border-bottom: 1px solid #dfe6e6;
}

.nav2-mega-columns-boxed .nav2-mega-col {
  border-left: 1px solid #dfe6e6;
  background-color: #ffffff;
}

.nav2-mega-columns-boxed .nav2-mega-col:last-child {
  border-right: 1px solid #dfe6e6;
}

.nav2-mega-columns-boxed .nav2-col-header {
  border-bottom: 1px solid #dfe6e6;
  padding: 14px 16px;
  margin-bottom: 0;
  background-color: #ffffff;
}

.nav2-mega-columns-boxed .nav2_links-grid_cell.compact {
  border-bottom: 1px solid #dfe6e6;
  border-radius: 0;
  padding: 12px 16px;
  background-color: #ffffff;
}

.nav2-mega-columns-boxed .nav2_links-grid_cell.compact:last-child {
  border-bottom: none;
}

.nav2-mega-columns-boxed .nav2_links-grid_cell.compact:hover {
  background-color: #f4f8f4;
  z-index: 1;
}

/* Dark mode for boxed columns */
[data-theme="dark"] .nav2-mega-columns-boxed,
[data-theme="dark"] .nav2-mega-columns-boxed .nav2-mega-col,
[data-theme="dark"] .nav2-mega-columns-boxed .nav2-col-header,
[data-theme="dark"] .nav2-mega-columns-boxed .nav2_links-grid_cell.compact {
  border-color: var(--bg-tertiary);
}

[data-theme="dark"] .nav2-mega-columns-boxed .nav2-mega-col,
[data-theme="dark"] .nav2-mega-columns-boxed .nav2-col-header,
[data-theme="dark"] .nav2-mega-columns-boxed .nav2_links-grid_cell.compact {
  background-color: var(--bg-secondary);
}

[data-theme="dark"]
  .nav2-mega-columns-boxed
  .nav2_links-grid_cell.compact:hover {
  background-color: var(--bg-tertiary);
}

/* Compact grid cell (no icon box, title-only) */
.nav2_links-grid_cell.compact {
  padding: 8px 12px;
  gap: 8px;
  border-radius: 8px;
}

.nav2_links-grid_cell.compact .nav2_cell-title {
  font-size: 14px;
  font-weight: 500;
}

.nav2_links-grid_cell.compact .nav2_links-grid_cell_arrow {
  font-size: 13px;
}

/* Mobile menu section headers */
.mobile-mega-section {
  font-size: 12px;
  font-weight: 700;
  color: #003333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 0 6px;
  margin-top: 6px;
  border-bottom: 1px solid #e6f5e6;
}

.mobile-mega-section:first-child {
  padding-top: 0;
  margin-top: 0;
}

/* Dark mode for new elements */
[data-theme="dark"] .nav2-col-header {
  color: var(--text-primary);
  border-bottom-color: var(--bg-tertiary);
}

[data-theme="dark"] .nav2-mega-columns {
  border-color: var(--bg-tertiary);
}

[data-theme="dark"] .mobile-mega-section {
  color: var(--text-primary);
  border-bottom-color: var(--bg-tertiary);
}

[data-theme="dark"] .offcanvas .btn-close {
  filter: invert(1);
}

[data-theme="dark"] .menu-btn {
  color: var(--text-primary);
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 1200px) {
  .nav2-mega-columns {
    flex-direction: column;
    gap: 12px;
  }

  .nav2-columns-3 .nav2-mega-col,
  .nav2-columns-2 .nav2-mega-col {
    max-width: 100%;
  }
}

/* FOOTER */
footer {
  padding-inline: 200px;
  padding-bottom: 100px;
  padding-top: 80px;
  background-color: #003333;
}

.details-text h1,
.details-text h2 {
  color: #ccffcc;
  font-size: 50px;
  line-height: 58px;
}

.details-text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.details-text div span {
  color: rgba(204, 255, 204, 0.6);
}

.details-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-stack-1 {
  background: linear-gradient(90deg, #003333, #006666 50%, #003333);
  padding: 50px;
}

.card-stack-2 {
  background-color: #003333 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-footer img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info h5,
.user-info p {
  margin: 0;
  color: rgba(204, 255, 204, 0.6);
  font-size: 14px;
  line-height: 20px;
}

.card-stack-2 .card-text {
  font-size: 20px !important;
  line-height: 26px;
  color: rgba(204, 255, 204, 0.6) !important;
}

/* FOOTER MOBILE LEFT COL*/
@media (max-width: 576px) {
  footer {
    padding-right: 30px !important;
    padding-left: 30px !important;
  }

  .details-text h1,
  .details-text h2 {
    color: #ccffcc;
    font-size: 33px;
    line-height: 37px;
  }

  .details-text {
    text-align: center;
  }
}

.footer-links {
  margin-top: 100px;
}

.footer-links .row {
  gap: 40px;
}

.list-unstyled li {
  margin-bottom: 12px;
}

.list-unstyled .list {
  font-size: 17px;
  line-height: 24px;
}

.list-unstyled .text-decoration-none {
  color: rgba(204, 255, 204, 0.6) !important;
  font-size: 17px;
  line-height: 24px;
}

.list-unstyled .dropdown-menu {
  padding: 0 !important;
  border: none !important;
  overflow: hidden;
  background-color: #003333 !important;
  width: 100%;
}

.list-unstyled .dropdown-menu .dropdown-item {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
  background-color: #003333 !important;
  color: #ccffcc !important;
  font-size: 14px !important;
  line-height: 24px !important;
}

.list-unstyled .dropdown-menu li {
  margin: 0 !important;
}

.list-unstyled .dropdown-menu .dropdown-item {
  padding: 4px 8px;
}

/* Footer dropdown toggle (button element styled as link) */
.footer-dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: rgba(204, 255, 204, 0.6) !important;
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
}

.footer-dropdown-toggle:hover,
.footer-dropdown-toggle:focus {
  color: #ccffcc !important;
}

.footer-dropdown-toggle::after {
  margin-left: 0.255em;
  vertical-align: 0.12em;
}

.footer-text small {
  color: rgba(204, 255, 204, 0.6) !important;
}

/* Secondary CTA in footer card */
.card-stack-1 .btn-outline-light {
  border-color: rgba(204, 255, 204, 0.5);
  color: #ccffcc;
}

.card-stack-1 .btn-outline-light:hover {
  background-color: rgba(204, 255, 204, 0.1);
  border-color: #ccffcc;
}

/* Footer divider and copyright */
.footer-divider {
  border-color: rgba(204, 255, 204, 0.2);
  opacity: 1;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 576px) {
  .footer-links .row {
    gap: 0px;
  }

  .footer-links .col-6 {
    margin-bottom: 60px !important;
  }
}
