/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1c74bc; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #27a9e0; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */

  /* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */

  --nav-color: #1c74bc; /* The default color of the main navmenu links */
  --nav-hover-color: #27a9e0; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #27a9e0; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

.btn-getstarted,
.btn-getstarted:focus {
  color: var(--contrast-color) !important;
  background: var(--accent-color) !important;
  font-size: 15px !important;
  padding: 8px 12px !important;
  margin: 0 0 0 30px !important;
  border-radius: 4px !important;
  transition: 0.3s !important;
  font-weight: 500 !important;
}

.btn-getstarted:hover,
.btn-getstarted:focus:hover {
  color: var(--contrast-color) !important;
  background: color-mix(in srgb, var(--accent-color), transparent 15%) !important;
}

.mobile-nav-toggle {
  color: var(--nav-color) !important;
}

@media (max-width: 1199px) {
  .header .logo img {
    max-height: 12vh;
    margin-right: 8px;
  }

  .mobile-nav-active .navmenu {
    position: fixed !important;
    overflow: hidden !important;
    inset: 0 !important;
    background: rgba(252, 254, 255, 0.8) !important;
    transition: 0.3s !important;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 50%);
  }
}

/* .sidebar-item.active > .sidebar-link {
  background-color: #27a9e0 !important;
  color: #fff !important; 
  border-radius: 4px !important;
} */

/* Estilo mejorado para resaltar el enlace activo con un subrayado personalizado */
.sidebar-item.active > .sidebar-link {
  color: var(--accent-color) !important; /* Color del texto del enlace activo */
  text-decoration: none !important; /* Eliminar el subrayado predeterminado */
  position: relative; /* Posición relativa para alinear el subrayado */
}

.sidebar-item.active > .sidebar-link:after {
  content: ""; /* Contenido vacío para el elemento after */
  position: absolute; /* Posición absoluta para el subrayado */
  bottom: -1px; /* Ajuste para bajar el subrayado un poco */
  left: 0; /* Alinear el subrayado con el texto */
  width: 100%; /* Ancho completo del subrayado */
  height: 3px; /* Grosor del subrayado */
  background-color: var(--accent-color); /* Color del subrayado */
}

.accordion-button:not(.collapsed) {
  color: var(--contrast-color) !important;
  background-color: var(--nav-color) !important;
}

.features .feature-box {
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.15) !important;
}
