html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
  }

#btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 25px;
    display: none;
    background-color: #f1db25;
    border-color: #f1db25;
    color: black; 
    border: 2px solid black;
    z-index: 99;
}

.header_top {
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  
.header_bottom {
    margin-top: 50px; /* Adjust this value based on the height of .header_top */
    z-index: 999;
}

.nav-item .nav-link{
      text-shadow: 
    -0.3px -0.3px 0 #000,  
     0.3px -0.3px 0 #000,
    -0.3px  0.3px 0 #000,
     0.3px  0.3px 0 #000;
}

#language-toggle {
    background-color: #f1db25;
     color: #000;
}

.check-icon {
    content: "";
    display: inline-block;
    width: 12px; /* adjust size as needed */
    height: 12px; /* adjust size as needed */
    background-image: url('/images/check-icon.svg'); /* path to your check icon */
    background-size: contain;
    margin-right: 5px;
    vertical-align: middle;
  }

.offer-list {
    margin-bottom: 10px;
}

  .info-button {
    display: inline-block;
    margin: 10px;
    padding: 15px 25px;
    font-size: 16px;
    background-color: #f1db25;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    min-width: 200px;
    color: #000000;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 2px solid transparent;
  }
  
  .info-button:hover {
    background-color: transparent;
    border-color: #f1db25;
    color: #000000;
  }
  
  .button_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  #info {
    border: 2px solid #f1db25;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
  }
  

  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    /* top: 80px; */
    
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
/* CATEGORY STYLE */
.category-page {
    width: 100%;
    height: 100vh;
  }
  
  .sidebar {
    width: 20%;
    background-color: #f1db25;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .content {
    width: 75%;
    margin-left: 5%;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .btn-category {
    background-color: #f1db25;
    color: #333;
    font-weight: bold;
    width: 100%;
    text-align: left;
    padding: 10px;
    border: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
  }
  
  .btn-category:hover,
  .btn-category.active {
    background-color: #333;
    color: #f1db25;
  }
  
  .subcategory-buttons {
    display: flex;
    gap: 5px;
    justify-content: space-between;
  }
  
  .btn-subcategory {
    flex: 1;
    background-color: #f1db25;
    color: #333;
    font-weight: bold;
    padding: 10px;
    border: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
  }
  
  .btn-subcategory:hover,
  .btn-subcategory.active {
    background-color: #333;
    color: #f1db25;
  }
  
  .category-content {
    display: none;
  }
  
  .category-content.active {
    display: block;
  }
  
  .subcategory-content {
    display: none;
  }
  
  .subcategory-content.active {
    display: block;
  }
  
  /* DESCRIPTION PAGE */
  
  .image-container {
    width: 100%;
    max-width: 250px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .description-content h3 {
    color: #333;
    font-weight: bold;
  }
  
  .cerinte h5 {
    color: #333;
    font-weight: bold;
    margin-top: 1rem;
  }
  
  .cerinte ul {
    padding-left: 1rem;
  }
  
  .cerinte li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .cerinte li i {
    color: #f1db25;
    margin-right: 0.5rem;
  }
  


  .list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem; /* Space between icon and text */
  }
  
  .check-icon {
    color: #f1db25; /* Theme color */
    font-size: 1.2em;
    flex-shrink: 0; /* Prevents icon from resizing */
    margin-top: 0.2em; /* Adjust for better alignment if needed */
  }
  

/* Modal styling */
.modal-button {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content-button  {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal header styling */
.modal-header-button  {
  background-color: #f1db25;
  padding: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  color: #333;
  text-align: center;
}

.modal-header-button  .close-button  {
  color: #333;
  float: right;
  font-size: 1.5em;
  cursor: pointer;
}

/* Modal body */
.modal-body-button  {
  padding: 20px;
}

.modal-body-button ul {
  padding-left: 0;
}

.modal-body-button li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: left; /* Ensures left alignment */
}

.regulations-page {
  padding: 2rem 0;
}

.regulations-page h2 {
  color: #333;
  margin-bottom: 2rem;
}

.regulations-page p {
  font-size: 16px; /* Adjust font size */
  line-height: 1.5; /* Increase line height for readability */
  color: #333; /* Text color */
}

.file-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  border: 1px solid #33333322;
  padding-top: 40px;
  padding-bottom: 40px;
}

.file-item {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.file-icon {
  width: 24px; /* Adjust size as needed */
  height: 24px; /* Adjust size as needed */
  margin-right: 2rem; /* Space between icon and text */
  margin-left: 0.5rem;
  color: #f1db25; /* If your SVG can change color */
}
.file-name {
  flex-grow: 1;
  font-weight: 500;
  color: #333;
}

.download-btn {
  background-color: #f1db25;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.download-btn:hover {
  background-color: #e1c522;
}

.file-grid .card {
  border: 1px solid #f1db25; /* Border color */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transition: transform 0.2s; /* Smooth scaling effect */
}

.file-grid .card:hover {
  transform: scale(1.02); /* Slightly enlarge the card on hover */
}

.file-name {
  flex-grow: 1; /* Allow the file name to take up available space */
}
