/* General Styles */
  
  .container {
    max-width: 1162px;
    padding:0 15px 0 15px;

  }
  .header{
    margin: 100px 0 48px 0;
  }
  .header .title {
    font-size: 64px;
    line-height: 74px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin: 0;
  }
  
  /* Tabs Container */
  .tabs-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    margin:0 0 48px 0;
    padding-bottom: 7px; /* Add padding to the bottom of the container */
    flex-wrap: nowrap; /* DODAJ OVO */
  }
/* Globalni custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgba(120, 120, 120, 0.1);
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(153, 153, 153, 0.2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Poboljšana vidljivost na hover */
body:hover ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

body:hover ::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}

  
  /* Tabs */
  .tabs {
    display: flex;
    overflow-x: auto;
    gap: 14px; /* Remove gaps between tabs */
    flex-wrap: nowrap; /* DODAJ OVO */
    width: 100%; /* Obezbeđuje da kontejner ide do kraja */
  }
  
/* Default tab styling */
.tab {
    flex: 1;
    flex-basis: clamp(150px, 100%, 280px);  /* Uzimaj minimum 150px, maksimum 280px, a između ih rasteži */
    text-align: center; /* Center-align the text inside the tab */
    padding: 16px 24px;
    border-radius: 52px;
    cursor: pointer;
    background-color: #D3DCFF; /* Default background color */
    color: #6E87A7; /* Default text color */
    transition: all 0.3s ease; /* Smooth transition for hover and active states */
    font-size: 16px;
    line-height: 24px;
    font-weight: bold; /* Optional: Make the active tab text bold */
    white-space: nowrap;
  }
  
  /* Hover effect for tabs */
  .tab:hover {
    background-color: #ffffff; /* Hover background color */
  }
  
  /* Active tab styling */
  .tab.active {
    background-color: #006FD1; /* Active background color (blue) */
    color: white; /* Active text color */
  }
  
  /* Accordion */
  .accordion {
    border-radius: 52px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    padding: 36px;
  }
  
  .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    cursor: pointer;
    min-height: 48px;
    padding: 9px 0;
  }
  
  .accordion-header h3 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: white;
    margin: 0;
  }
  
  .accordion-header span {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 6px 0px 6px 12px;

  }
  
  .accordion-body {
    display: none;
    padding: 18px 36px 2px 36px !important;
    background-color: #D3DCFF;
    border-radius: 52px;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    margin-top: 12px;
  }
  
  .accordion-body.active {
    display: block;
  }
  
  /* Accordion Open State */
  .accordion-open {
    background-color: white;
  }
  .tab-content {
    display: grid;
    gap: 12px;
    margin-bottom: 100px;
}

  
  .accordion-open h3 {
    color: #020B29;
  }
  
  .accordion-open span {
    color: #020B29;
  }
  .accordion-open .accordion-icon {
    color: #318CDD;
}
  .elementor-editor-active .accordion-header h3 {
    color: white !important;
}
body.elementor-editor-active .accordion-body {
  display: block !important;
  opacity: 1 !important;
  height: auto !important;
  visibility: visible !important;
}



  @media (max-width: 991px) {
    .header .title {
      font-size: 36px;
      line-height: 46px;
      text-align: left;
    }
    .header{
      margin: 48px 0 26px 0;
    }
    .tabs-container {
      margin:0 0 26px 0;
    }
  
    .accordion {
      border-radius: 32px;
      padding: 32px 12px 24px 12px;
    }
    .tab {
      padding: 8px 28px;
      font-size: 14px;
      line-height: 21px;
    }
  
    .accordion-header h3 {
      margin-left: 12px;
    }
  
    .accordion-body {
      padding: 32px 32px 16px 32px !important;
      border-radius: 25px;
      margin-bottom: -8px;
    }
    .accordion-header span {
      margin-right: 8px;
    }
    .tab-content {
      margin-bottom: 62px;
  }
  }
  @media (max-width: 768px) {
    .tabs-container {
      scrollbar-width: none; /* Set the width of the scrollbar */
    }
  }
  
