/* ============================
   General Styles
============================ */
body {
  background-image: radial-gradient(circle, #0d4032, #042a18, #000000);
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;  /* starting point */
  color: white;
  margin: 0;
  padding: 0;
}

.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-logo {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url("/static/img/logo.webp") no-repeat center center;
  background-size: 40%;
  opacity: 0.09;
  pointer-events: none;
  z-index: -1;
  transform: translateY(0);
  will-change: transform;
}

.content {
  position: relative;
  z-index: 1;
}

.bg_def {
    background-color: #042a18!important;
    color: #d8d6d4;
}

.txt_def {
    color: #d8d6d4;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
}

.txt_yell {
    color: #fcdb88;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
}

.txt_light {
    color: #d8d6d4;
    font-family: 'Helvetica', sans-serif;
}

.main_txt {
    font-size: 18px;
    font-weight: bold;
    padding: 20px 20px;
    margin: 5px 0;
    color: #d8d6d4;
}

/* ============================
   Header Styling
============================ */
.site-header {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid grey;
}

.header-text {
        font-size: 14px !important;
    }

/* ============================
   Navbar Styling
============================ */
.navbar-nav .nav-link {
    font-size: 20px;
    color: #ffffff !important;
    font-weight: bold;
    transition: color 0.3s ease-in-out;

}

.cat-link {
    font-size: 14px !important;
    color: #d8d6d4 !important;
    font-weight: bold !important;
    background: none !important;
    border: 0.5px solid #fcdb88 !important;
    border-radius: 0 !important;
    white-space: nowrap
}

.cat-link.active {
    color: #fcdb88 !important;
}

.cat-link:hover   {
    color: #fcdb88 !important;
}

.overflow-auto {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #fcdb88 transparent !important;
}

/* WebKit (Chrome, Safari, Edge) */
.overflow-auto::-webkit-scrollbar {
  height: 2px;
}

.overflow-auto::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 2px;
}

.overflow-auto::-webkit-scrollbar-thumb {
  background-color: #fcdb88;   /* your chosen color */
  border-radius: 2px;
  height: 2px;
}

/* Optional: hover state */
.overflow-auto::-webkit-scrollbar-thumb:hover {
  background-color: #fcdb88;
  border-radius: 2px;
  height: 2px;
}

.navbar-nav .nav-link:hover {
    color: #fcdb88 !important;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-item .nav-link.active {
    color: #fcdb88 !important;
    font-weight: bold;
    border-bottom: 2px solid #fcdb88;
}

.navbar-toggler {
    border: 3px solid #d8d6d4 !important;
}


.navbar-toggler-icon {
    color: #333 !important;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: none;           /* hidden by default */
  background: rgba(0,0,0,0.6);
  color: white;
  border: 1px solid white !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s ease;
}
#scrollTopBtn:hover {
  background: rgba(0,0,0,0.8);
}

/* ============================
   Vacancy Item Styling
============================ */
.vacancy-item {
    border-bottom: 1px solid grey;
    width: 95%;
}

/* ============================
   Collapsible Section
============================ */
.collapsible {
    font-size: 30px;
    font-weight: bold;
    color: #d8d6d4;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    background: none;
}

.collapsible:hover {
    color: #fcdb88;
}

.collapsible::after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.collapsible-active::after {
    content: "\2212";
}

.vacancy-item-content {
    border: 2px solid grey;
    color: #d8d6d4;
    border-radius: 15px;
    padding: 0 10px;
    display: none;
    overflow: hidden;
}

/* ============================
   Buttons
============================ */
.btn-custom {
    background-color: #fcdb88!important;
    color: #333 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border: 1px solid #fcdb88 !important;
    transition: all 0.3s ease-in-out !important;
}

.btn-custom:hover {
    color: #4f5659 !important;
    border-color: #1e7e34 !important;
}

.btn-close.text-close {
  background: none;
  width: auto;
  height: auto;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  color: #d8d6d4;
  opacity: 1;
}

.btn-close.text-close:hover {
  color: #fcdb88;    /* new hover color */
}

/* ============================
   Footer Styling
============================ */
.footer {
    color: #d8d6d4 !important;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    position: relative;
    bottom: 0;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    border-top: 1px solid grey;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.contact-info {
    text-align: left;
    flex: 1;
}

.social {
    text-align: right;
    flex: 1;
}

.social-icons {
    display: flex;
    justify-content: end;
    gap: 15px;
}

.social-link {
    font-size: 36px;
    color: white;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.footer a {
    text-decoration: none;
    color: #fcdb88;
    font-weight: bold;
}

.footer a:hover,
.active > a {
    color: #a99151;
}

.modal-dialog a {
    text-decoration: none;
    color: #fcdb88;
    font-weight: bold;
}

.modal-dialog a:hover,
.active > a {
    color: #a99151;
}

/* ============================
   Slider Elements
============================ */
.embla {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 2rem 0;
}
.embla__viewport {
  overflow: hidden;
  width: 100%;
}
.embla__container {
  display: flex;
  will-change: transform;
}
.embla__slide {
  flex: 0 0 75%;              /* width of each slide */
  margin: 0 10px;
  transform: scale(0.85);
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.embla__slide.is-selected {
  transform: scale(1);
  opacity: 1;
}
.embla__slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.embla__prev,
.embla__next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px; /* or your preferred width */
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d8d6d4;
  transition: background 0.3s ease;
}

.embla__prev:hover,
.embla__next:hover {
  color: #fcdb88;
}

.embla__prev {
  left: 0;
}

.embla__next {
  right: 0;
}

.collapsed-content {
    max-height: 310px;
    overflow: hidden;
    position: relative;
}

.toggle-link {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

@media (max-width: 768px) {
  .embla__slide { flex: 0 0 90%; }
}
@media (max-width: 480px) {
  .embla__slide { flex: 0 0 100% !important; }
}


/* ============================
   Special Elements
============================ */
.text-highlight {
    font-size: 25px;
    color: #fcdb88;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    border: none;
    text-align: left;
    outline: none;
}

.text-highlight a {
    text-decoration: none;
    color: #fcdb88;
    font-weight: bold;
}

.text-highlight a:hover,
.active > a {
    color: #a99151;
}

.phone a {
    text-decoration: none;
    color: #fcdb88;
    font-weight: bold;
}

.phone a:hover {
    color: #a99151;
}

/* ============================
   Responsive Adjustments
============================ */
@media (max-width: 1200px) {
    .header-text {
        font-size: 13px !important;
    }
    .nav-item {
        font-size: 14px !important;
    }
    .nav-link {
        font-size: 14px !important;
    }
}

@media (max-width: 992px) {
    .vacancy-item {
        width: 100%;
    }
    .collapsible {
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .vacancy-item {
        width: 100%;
    }
    .collapsible {
        font-size: 22px;
    }
    .vacancy-item-content {
    padding: 0 8px;
    }
}

@media (max-width: 640px) {
    .vacancy-item {
        width: 100%;
    }
    .vacancy-item-content ul {
        margin: 15 !important;
        padding: 0 !important;
        list-style-position: inside !important;

    .vacancy-item-content ul li {
        padding-left: 0 !important; /* Remove extra space */
        margin-left: -10px !important;
       list-style-type: square !important;
    }

    .collapsible {
        font-size: 20px;
    }
    .header-text {
        font-size: 12px !important;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .vacancy-item {
        width: 100%;
    }

    .vacancy-item-content {
        padding: 0 5px;
        }
    .collapsible {
        font-size: 18px;
    }
    .header-text {
        font-size: 11px !important;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
    }

    .footer {
        width: 100%;
    }
    .footer .contact-info {
        font-size: 13px;
    }
    .footer .social-link {
        font-size: 18px;
    }
    .footer .social p {
        font-size: 12px;
        text-align: right;;
    }
    .footer .social-icons {
        display: flex;
        justify-content: end;
        gap: 10px;
    }
}