/**
* Template Name: eStartup
* Template URL: https://bootstrapmade.com/estartup-bootstrap-landing-page-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* 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: #212529;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #101f0c;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #71c55d;
  /* 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 */
:root {
  --nav-color: #212529;
  /* The default color of the main navmenu links */
  --nav-hover-color: #71c55d;
  /* 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: #71c55d;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f6f1;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
  # General Styling & Shared Classes
  --------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.text-indent {
  text-indent: 2.5rem;
}

.rich-paragraph {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
}

.col-md-15 {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}
@media (max-width: 768px) {
  .col-md-15 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
  # Global Header
  --------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 5px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 55px;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}


/*--------------------------------------------------------------
  # Language Switcher
  --------------------------------------------------------------*/
.language-switcher {
  position: relative;
  cursor: pointer;
}

.script-dropdown {
  display: none;
  position: absolute;
  background: color-mix(in srgb, var(--accent-color), white 80%);
  border: 1px solid var(--accent-color);
  padding: 5px 10px;
  top: 100%;
  left: 0;
  z-index: 10;
  border-radius: 15px;

}

.language-switcher:hover .script-dropdown {
  display: block;
}

.script-dropdown li {
  margin: 0;
  padding: 5px 0;
}

.script-dropdown li a {
  text-decoration: none;
  color: var(--default-color);
}

.script-dropdown li a:hover {
  color: var(--accent-color);
}


/*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 768px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 8px 15px;
    font-size: 1rem;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

.header .container-fluid.container-xl {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navmenu - Mobile */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    margin-right: 10px;
    cursor: pointer;
    line-height: 0;
    transition: color 0.3s ease;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 70px 16px 16px 16px;
    padding: 16px 0;
    margin: 0;
    border-radius: 12px;
    background-color: var(--nav-mobile-background-color, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(10px);
    overflow-y: auto;
    transition: all 0.4s ease;
    z-index: 9998;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color, #333);
    padding: 12px 24px;
    font-family: var(--nav-font, 'Segoe UI', sans-serif);
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--nav-dropdown-hover-color, #000);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    font-size: 32px;
    position: absolute;
    top: 16px;
    right: 16px;
    margin-right: 0;
    z-index: 9999;
  }

  .header .container-fluid.container-xl {
    max-width: 100%;
    padding: 0 10px;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    /* centriraj horizontalno */
    align-items: flex-start;
    /* zadrži meni pri vrhu */
  }

  .mobile-nav-active .navmenu>ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
height: auto;
max-height: 45vh;
overflow-y: auto;
    width: 90%;
    margin-top: 50px;
    padding: 20px;
    background-color: var(--nav-mobile-background-color, rgba(255, 255, 255, 0.95));
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.4s ease forwards;
    text-align: center;
  }

  .navmenu ul li {
    margin: 5px 0;
    width: 100%;
  }

  .navmenu a {
    display: inline-block;
    width: 100%;
  }
}

/*--------------------------------------------------------------
  # Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 1rem;
  padding: 40px 0;
  position: relative;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 20%);
  font-size: 16px;
  color: var(--accent-color);
  margin: 0 5px;
  transition: 0.3s;
  position: relative;
}

.footer .social-links a:hover {
  color: var(--default-color);
  border-color: var(--default-color);
}

.footer .social-links a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.footer .social-links a:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

.footer .credits a {
  color: var(--default-color);
}

.footer .credits a:hover {
  color: var(--accent-color);
}

.footer .credits h3 {
  font-weight: 600;
}



/*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
  # Scroll Top Button
  --------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
  # Global Page Titles & Breadcrumbs
  --------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 2rem;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 767px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
  # Global Section Titles
  --------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title div .description-title {
  color: var(--accent-color);
}


/*--------------------------------------------------------------
  # Starter Section Section
  --------------------------------------------------------------*/
.text-justify {
  text-align: justify;
}

/*--------------------------------------------------------------
  # Toast messages
  --------------------------------------------------------------*/
/* Pozicioniranje toasta u donji desni ugao */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

/* Stilizovanje toasta za uspeh */
.toast.success {
  background-color: var(--accent-color);
  color: var(--surface-color);
  border-radius: 10px;
}

/* Stilizovanje toasta za greške */
.toast.danger {
  background-color: var(--danger-color);
  color: var(--surface-color);
  border-radius: 10px;
}

/* Prilagođeni dugmići za zatvaranje */
.toast .btn-close-white {
  color: var(--surface-color);
}

/*--------------------------------------------------------------
  # Full screen image modal
  --------------------------------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    /* Povećana vrednost z-index-a kako bi modal bio iznad menija */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Sprečava skrolovanje */
    background-color: rgba(0, 0, 0, 0.85);
    /* Poluprovidna tamna pozadina */
}

/* Kontejner za sadržaj u modalu */
.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    /* Da popuni celu visinu ekrana */
    display: flex;
    justify-content: center;
    /* Centriranje slike horizontalno */
    align-items: center;
    /* Centriranje slike vertikalno */
    background-color: transparent;
    /* Bez pozadine */
    border: none;
    /* Uklanjanje border-a ako postoji */
    box-shadow: none;
    /* Uklanjanje senke ako postoji */
    outline: none;
    /* Uklanjanje outline-a ako postoji */
}

/* Slika unutar modala */
.modal-content img {
    max-width: 95vw;  /* max 90% širine viewport-a */
    max-height: 95vh; /* max 90% visine viewport-a */
    object-fit: contain;
    /* Slika se automatski prilagođava prostoru bez deformacija */
    border-radius: 10px;
    /* Zaobljeni uglovi */
}

/* Dugme za zatvaranje modala (X) */
.close {
    position: absolute;
    top: 10px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    /* Veći z-index kako bi X dugme bilo ispred svih elemenata */
}
.close:hover {
    color: #ff6666; /* malo crveno kad prelaziš */
    transform: scale(1.1);
    transition: all 0.2s ease;
}
