body {
/*  font-family: 'Montserrat', sans-serif;*/
  background-color: #f7f7f7;
  color: #333;
  margin-top: 42px;
}

/* Colors */
:root { 
  /* Brand colors */
  --color-brand-primary: #172B73 /*#252F52*/;  
  --color-brand-secondary: #ffbc53 /*#FBB03B*/; 

  /* Backgrounds  */
  --color-bg-site: #ffffff;         /* Site background */
  --color-bg-section: #F4F9FB;      /* Section background */
  --color-bg-decorative: #F9E9CB;   /* Decorative elements */
  --color-bg-footer:#292a31;

  /* Text */
  --color-text-dark: #333;
  --color-text-light: #f5f5f5;

  --navbar-height: 93px;
  --sidebar-width: 260px;
}


/* Nav */
.navbar {
  background-color: var(--color-bg-site);
  margin-top: 30px;
}
.navbar .nav-link.active{
  color: var(--color-brand-primary);
  font-weight: 600;
}

.top-bar {
  background-color: var(--color-brand-primary);
}
@media(max-width: 992px) {
  .top-bar-email, .top-bar-tel{
  max-width: 35px;
  }
}
/* Hero */
.hero-wrapper {
  overflow-x: clip;
  height: auto;
}

.image-hero {
    position: absolute;
    top: -355px;
    right: 560px;
    height: 100%;
    width: 2%;
    z-index: -1;
    pointer-events: none;

}

.hero-img {
  object-fit: cover;
  object-position: right;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}
.image-hero::after {
  content: "";
  position: absolute;
  width: 1000px;
  height: 1000px;
  background-color: var(--color-bg-decorative, #e4e4e4);
  border-radius: 50%;
/*  top: -50px;     */
/*  right: -914px;*/
  top: -170px;     
  right: -714px;
  z-index: -2;    
}
.image-hero::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
/*  background-color: var(--color-bg-decorative, #e4e4e4);*/
  border-radius: 50%;
  border: solid 2px var(--color-brand-primary);
/*  top: -50px;     */
/*  right: -914px;*/
  top: 195px;     
  right: -720px;
  z-index: -1;    
}
.hero-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-section {
    background-color: color-mix(in srgb, var(--color-bg-section) 70%, transparent);
  }
}

.hero-section .container {
  margin-top: 6vw !important;
}

.hero-img-center {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-img-in-bg {
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  z-index: 1;
}

.hero-img-left {
  left: 0;
  transform: translate(-2%, -40%);
}

.hero-img-right {
  right: 0;
  transform: translate(2%, -40%);
}

@media (max-width: 992px) {
  .hero-img-left, .hero-img-right {
    display: none;
  }
  .hero-img-center {
    margin-top: 0px ;
  }
}
/*Buttons*/
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-brand-primary);
  --bs-btn-border-color: var(--color-brand-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #121d44;
  --bs-btn-hover-border-color: #121d44;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #121d44;
  --bs-btn-active-border-color: #121d44;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--color-brand-primary);
  --bs-btn-disabled-border-color: var(--color-brand-primary);
  --bs-btn-border-radius: 2rem;
}

.btn-brand-secondary {
  --bs-btn-color: var(--color-brand-primary);
  --bs-btn-bg: var(--color-brand-secondary);
  --bs-btn-border-color: var(--color-brand-primary);
  --bs-btn-hover-color: var(--color-brand-primary);
  --bs-btn-hover-bg: #e39c2d;
  --bs-btn-hover-border-color: var(--color-brand-primary);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--color-brand-secondary);
  --bs-btn-active-border-color: var(--color-brand-secondary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--color-brand-secondary);
  --bs-btn-disabled-border-color: var(--color-brand-secondary);
  --bs-btn-border-radius: 2rem;
}

.btn-outline-secondary {
  --bs-btn-color: var(--color-brand-primary);
  --bs-btn-border-color: var(--color-brand-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--color-brand-primary);
  --bs-btn-hover-border-color: var(--color-brand-primary);
  --bs-btn-focus-shadow-rgb: 108, 117, 125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--color-brand-primary);
  --bs-btn-active-border-color: var(--color-brand-primary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--color-brand-primary);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--color-brand-primary);
  --bs-gradient: none;
  --bs-btn-border-radius: 2rem;
}

.btn-secondary {
    --bs-btn-color: var(--color-brand-primary);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--color-brand-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-brand-primary);
    --bs-btn-hover-border-color: var(--color-brand-primary);
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-brand-primary);
    --bs-btn-active-border-color: var(--color-brand-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #fff;
    --bs-btn-disabled-border-color: #fff;
    --bs-btn-border-radius: 2rem;
}

/* Text */
.color-text-primary {
  color : var(--color-brand-primary);
}

hr.title-underline {
  width: 100px;
  color: var(--color-brand-primary);
  border: 2px solid var(--color-brand-primary);
  border-radius: 100px;
  margin: auto;
  position: inherit;
  opacity: 1;
}

/* Card */
.card.card-service{
 background-color: var(--color-bg-section);
}
.card:hover{
  box-shadow: var(--bs-box-shadow-lg)!important;
}
/*.card.card-service*/ .card-icon {
  border: 1px solid var(--color-brand-primary);
  border-radius: var(--bs-border-radius);
  padding: 1em;
  font-size: 22px;
  color: var(--color-brand-primary);
  background: ghostwhite;
}

.card.card-service .card-icon.card-icon-FBB03B {
  border-color: #FBB03B;
  color: #FBB03B;
}
.card.card-service .card-icon.card-icon-5835D8 {
  border-color: #5835D8;
  color: #5835D8;
}
.card.card-service .card-icon.card-icon-1C6D28 {
  border-color: #1C6D28;
  color: #1C6D28;
}
.card.card-service .card-icon.card-icon-A4A84D {
  border-color: #A4A84D;
  color: #A4A84D;
}
.card.card-service .card-text {
  font-size: 14px;
}
.card.card-service .card-link {
  font-weight: 600px;
  color: var(--color-brand-primary);
  text-decoration: none;
  font-weight: bold;
}
.icon-circle {
  width: 58px;
  height: 58px;
  background-color: var(--color-bg-decorative);
  border-radius: 50%;
  position: relative;
}

.icon-circle span {
  position: absolute;
  top: 2px;
  left: 10px;
  font-size: 28px;
}


.cta-section {
  background-image: 
  linear-gradient(to bottom, rgba(23, 43, 115, 0.8), rgba(44, 81, 217, 0.8)),
  url("../images/img-cta.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.cta-section-1 {
  background: linear-gradient(to bottom, rgba(249, 233, 203, 0.8), rgba(249, 233, 203, 1));
}

.owl-carousel.ref-carousel .owl-item > div {
  display: flex;
  align-items: center; 
  justify-content: center;
  height: 120px; 
}
.owl-carousel.ref-carousel img {
  max-height: 80px;  /* consistent logo size */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.owl-carousel.ref-carousel.owl-drag .owl-item {
  justify-items: center;
}
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* lets images be clickable if needed */
}

.owl-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  pointer-events: all;
  cursor: pointer;
  font-size: 1.25rem;
  border-radius: 4px;
}

.owl-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.bg-color-brand-primary {
  background-color: var(--color-brand-primary);
}
.bg-color-brand-section {
  background-color: var(--color-bg-decorative);
}

.bg-color-footer{
  background-color: var(--color-bg-footer);
}

.footer-social a{
  margin-right: 1em;
  font-size: 20px;
}

.footer-links a{
  color: #cecece;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover{
  color: #fff;
}

.mouse {
  position: absolute;
  top: -54px; 
  right: 40px;
  background-color: var(--color-bg-footer);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  text-align: center;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.mouse-icon {
  display: inline-block;
  color: #cecece;
  font-size: 20px;
  text-decoration: none;
}

.mouse-wheel {
  position: relative;
  animation: mymove 2s infinite;
}

@keyframes mymove {
  0%   { top: 5px; }
  100% { top: -5px; }
}

.module-card:hover .card-icon {
  box-shadow: 2px 5px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.0001);
}

.banner-section {
  background-image: linear-gradient(to bottom, rgba(244, 249, 251, 0.9), rgba(244, 249, 251, 0.8)), url("../images/banner.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.image-module-top img {
  width: 100%;
  object-fit: cover;
/*  border: solid 2px #172b73;*/
/*  border-radius: 10px;*/
/*  box-shadow: 2px 5px 16px rgba(0, 0, 0, 0.2);*/
}

.features-card .card-title {
  position: relative;
  padding-left: 20px;
}

.features-card .card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-25%);
  width: 10px;
  height: 10px;
  background-color: var(--color-brand-secondary); 
  border-radius: 50%;
  opacity: 0.9;
}

.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  z-index: 1;
}

.medium-zoom-image--opened {
  z-index: 9999 !important; 
}
.medium-zoom--opened .medium-zoom-overlay {
  z-index: 9999 !important; 
}
/*.zoom-wrapper {
  position: relative;
}

.zoom-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, transform-origin 0.3s ease;
  display: block;
}

.zoomed {
  transform: scale(1.5);
  cursor: zoom-out;
}*/

/* Default: dropdown is hidden */
.dropdown-menu {
  display: none;
  max-height: 70vh;              
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767.98px) {
  .dropdown-menu {
    max-height: 50vh;              
  }
}
/* Bootstrap handles dropdowns with `.show` */
.dropdown-menu.show {
  display: block;
}
.mega-dropdown,
.mega-dropdown .list-group-item {
  border-bottom: none !important;
  padding: 5px 0px;
}

.mega-dropdown h6 {
  border-bottom: 2px solid var(--color-brand-primary); 
  padding-bottom: 0.5rem;
  display: inline-block; 
}

.mega-dropdown .col-lg-3 {
  border-right: 1px solid #dee2e6; 
  padding-right: 1.5rem;
}
.mega-dropdown .col-lg-9 {
  padding-left: 1.5rem;
}

@media (max-width: 991px) {
  .mega-dropdown .col-lg-3 {
    border-right: none;
    padding-right: 0;
  }
  .mega-dropdown .col-lg-9 {
    padding-left: 0;
  }
}


/* === DESKTOP HOVER STYLES === */
@media (min-width: 1282px) {
  /* Override default Bootstrap dropdown on hover */
  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
  }

  .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}


.module-item:hover {
    color: var(--hover-color) !important;
}

.module-item.active {
  color: var(--hover-color) !important;
  background-color: var(--bs-list-group-action-hover-bg) !important;
  border-color: var(--bs-list-group-border-color) !important;
}

.bg-circle-left {
  width: 80vw;
  height: 80vw;
  background: var(--color-bg-decorative);
  border-radius: 50%;
  position: absolute;
  left: -45vw;
  top:-35vw;
  z-index: -1;
}

.bg-circle-right {
  width: 80vw;
  height: 80vw;
  background: var(--color-bg-decorative);
  border-radius: 50%;
  position: absolute;
  right: -45vw;
  top:-35vw;
  z-index: -1;
}
.bg-circle-left-hero {
  width: 500px;
  height: 500px;
  background: var(--color-bg-decorative);
  border-radius: 50%;
  position: absolute;
  left: -350px;
  top:350px;
  z-index: -1;
}

.bg-circle-right-hero {
  width: 500px;
  height: 500px;
  background: var(--color-bg-decorative);
  border-radius: 50%;
  position: absolute;
  right: -320px;
  top:-230px;
  z-index: -1;
}

.contact-cards .card {
  border: solid 1px var(--color-brand-primary);
  background-color: var(--color-bg-section);
}

.form-control, .form-control:focus {
  border-color: var(--color-brand-primary);
}
.image.image-about {
  border-radius: 10px;
}

.docs-page {
  display: flex;
  margin-top: var(--navbar-height);
  background: #fff;
  min-height: 100vh;
}

.doc-sidebar {
  scrollbar-width: thin; 
/*  scrollbar-color: var(--color-brand-primary) #f1f1f1; */

  position: sticky;
  top: var(--navbar-height);
  align-self: flex-start;
  width: var(--sidebar-width);
  max-height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #ddd;
/*  padding: 1rem;*/
  z-index: 10;
}

.doc-content {
  flex: 1;
/*  margin-left: 1rem;*/
  padding: 2rem;
  background: #fff;
}


.doc-sidebar::-webkit-scrollbar {
  width: 8px;
}

.doc-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.doc-sidebar::-webkit-scrollbar-thumb {
/*  background-color: var(--color-brand-primary);*/
  border-radius: 0px;
  border: 2px solid #f1f1f1;
}

.sidebar-toggle-bar {
  position: fixed;
  top: var(--navbar-height); 
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.25rem 1rem;
  background: var(--color-bg-section);
}

@media (max-width: 767.98px) {
  .doc-sidebar {
    position: fixed;
    top: calc(var(--navbar-height) - 16px);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--navbar-height) - 16px); 
    background: #fff;
    z-index: 1050;
    border-right: 1px solid #ddd;
    padding: 1rem;
    overflow-y: auto;
    transition: left 0.3s ease;

  }

  .doc-sidebar.show {
    left: 0;
  }

  body.sidebar-open::after {
    content: '';
    position: fixed;
    top: calc(var(--navbar-height) + 32px);
    left: 0;
    width: 100%;
    height: calc(100% - var(--navbar-height) - 32px);
    background: rgba(0,0,0,0.5);
    z-index: 1040;
  }

  .doc-content {
    margin-left: 0rem;
    padding: 0rem;
  }
}

.doc-sidebar .sidebar-nav {
  position: relative;
/*  height: 600px;*/
  max-height: 100%;
  overflow-y: auto;
  padding: 1rem;
  background: #fff;
}

.doc-sidebar .sidebar-nav .sub-nav .nav-link{
  font-size: 14px;
  font-weight: 500;
  color: #616161;
  padding: 0.1rem 0.7rem;
  margin: 0.2rem 0rem;
}
.doc-sidebar .sidebar-nav .sub-nav .nav-link:hover{
  color: var(--color-brand-primary);
}
.doc-sidebar .sidebar-nav .sub-nav .nav-link.active{
  color: var(--color-brand-primary);
  background-color: var(--color-bg-decorative);
}
.sidebar-header {
  margin-bottom: 1rem;
}

.sidebar-title {
  font-weight: 600;
/*  font-size: 1.1rem;*/
}

.nav-link {
  color: #333;
  text-align: left;
}

.nav-link:hover {
  color: var(--color-brand-primary);
  background-color: #f8f9fa;
}

.btn-collapse {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: .5rem 0;
  font-weight: 600;
  color: #333;
}

.btn-collapse[aria-expanded="true"] {
  color: var(--color-brand-primary);
}

.sub-nav {
  padding-left: 1rem;
}

.sub-nav .nav-link {
  font-size: 0.95rem;
  padding: .25rem 0;
}

.collapse-icon {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e") no-repeat center center;
  background-size: contain;
  transition: transform 0.3s ease;
}

/* Rotate icon when expanded */
a[aria-expanded="true"] .collapse-icon {
  transform: rotate(90deg);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--color-brand-primary);
    background-color: var(--color-bg-section);
}



.hosting-options .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hosting-options .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.clip-overflow-x {
  overflow-x: clip;
}

#integrations,
#mobile-erp,
#productivity{
  scroll-margin-top: 200px;
}
#hosting {
  scroll-margin-top: 100px;
}

/* DOCS style */
#page-toc .nav-link {
  padding: .5rem 0;
}
.docs-h1 {
}
.docs-h2 {
  font-size: 28px;
}
.docs-h3 {
  font-size: 24px;
}
.docs-h4 {
  font-size: 20px;
}
.docs-h5 {
  font-size: 18px;
}
.docs-h6 {
  font-size: 16px;
}

/*Spinner*/
#spinner-overlay {
  z-index: 9999;
  transition: opacity 0.5s ease;
  color : var(--color-brand-primary);
}
#spinner-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}