/**
* Template Name: Удружење Привредникових питомаца „Владимир Матијевић”
* Author: Удружење Привредникових питомаца „Владимир Матијевић”
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Inter,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "PT Serif", serif;
  --nav-font: "Inter", 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: #272a33; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #083d77; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #8c0327; /* 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: #000000; /* The default color of the main navmenu links */
  --nav-hover-color: #214576; /* 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: #000000; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #214576; /* 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: #f7f8fa;
  --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);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
}

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(--default-color);
  font-family: var(--heading-font);
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h5,
h6 {
  font-family: var(--default-font);
}

h2 {
  color: var(--heading-color);
  font-size: clamp(34px, 4vw, 49px);
  line-height: calc(clamp(34px, 4vw, 49px) * 1.2);
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(26px, 4vw, 33px);
  line-height: calc(clamp(26px, 4vw, 33px) * 1.2);
  margin-bottom: 20px;
}

h4 {
  font-size: clamp(22px, 4vw, 28px);
  line-height: calc(clamp(22px, 4vw, 28px) * 1.2);
  margin-bottom: 20px;
}

h5 {
  font-size: clamp(20px, 1vw, 25px);
  line-height: calc(clamp(20px, 1vw, 25px) * 1.2);
  margin-bottom: 20px;
  font-weight: 600;
}

h6 {
  font-size: clamp(16px, 1vw, 20px);
  line-height: calc(clamp(16px, 1vw, 20px) * 1.2);
  margin-bottom: 20px;
  font-weight: 600;
}

.read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.read-more:hover,
.read-more:focus {
  background: #192e49;
  color: var(--contrast-color);
}

.white-color {
  color: #ffffff;
}

b,
strong {
  font-weight: 600;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

#topbar {
  padding: 5px;
  transition: all 0.5s;
  background: #192e49;
  color: #fff;
  margin-top: -12px;
  margin-bottom: 12px;
}

#topbar .social-links {
  text-align: right;
}

#topbar .social-links a {
  padding: 1px 7px 2px;
  display: inline-block;
  cursor: pointer;
}

#topbar .social-links a:hover svg,
#topbar .social-links a:focus svg {
  fill: #edb54e;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: #ffffff;
  padding: 12px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .read-more {
  margin: 0 0 0 25px;
}

.header .sitename {
  font-family: var(--default-font);
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  color: #000000;
  line-height: 26px;
}

.header .sitename span {
  display: block;
  color: #214576;
}

@media (max-width: 1200px) {
  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 2;
  }

  .header .read-more {
    margin-right: 10px;
  }
}

@media (max-width: 767px) {
  .header .sitename {
    font-size: 14px;
    line-height: 18px;
  }

  .header .read-more {
    display: none;
  }

  .header .logo h1 {
    font-size: 14px;
  }
}

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

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .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: 15px 10px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    text-decoration: none;
    transition: text-shadow 0.2s ease;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    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);
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 0px;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 10px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
    border-top: 1px solid #edeef0;
    padding: 1px 0px;
  }

  .navmenu .dropdown ul li:first-child {
    border-top: 0px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-hover-color);
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    /*top: 100%;*/
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

  .navmenu .megamenu {
    position: static;
  }

  .navmenu .megamenu ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    display: flex;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .megamenu ul li {
    flex: 1;
  }

  .navmenu .megamenu ul li a,
  .navmenu .megamenu ul li:hover > a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .megamenu ul li a:hover,
  .navmenu .megamenu ul li .active,
  .navmenu .megamenu ul li .active:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .megamenu:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

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

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

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .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 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.5s ease-in-out;
    box-shadow: none;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

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

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

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}
*/
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #ffffff;
  background-color: #192e49;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  margin-bottom: 25px;
  color: #edb54e;
  font-size: clamp(19px, 1vw, 25px);
  line-height: calc(clamp(19px, 1vw, 25px) * 1.2);
  font-family: var(--default-font);
  font-weight: 600;
}

.footer .footer-about .logo span {
  font-family: var(--default-font);
  color: #ffffff;
}

.footer .footer-about p {
  font-size: 20px;
  line-height: 22px;
  font-family: var(--heading-font);
  margin-top: 13px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 17px;
  transition: 0.3s;
}

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

.footer p.link-title {
  font-size: 16px;
  font-weight: 600;
  position: relative;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links p {
  line-height: 22px;
  margin-bottom: 8px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 2px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: #ffffff;
  display: inline-block;
}

.footer a.footer-mail{
  color: #ffffff;
  cursor: pointer;
}

.footer .footer-links ul a:hover,
.footer a.footer-mail:hover {
  color: #edb54e;
}


.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 20px;
  padding-bottom: 20px;
}

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

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

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99;
  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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

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

.page-title .breadcrumbs 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: 75px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

@media (max-width: 767px) {
  section,
  .section {
    padding: 30px 0;
  }
}

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

.section-title h2 {
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .section-title {
    padding-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 630px;
  position: relative;
  padding: 0px 0 0px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 119px;
}

.hero .hero-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin: 0;
  font-size: clamp(41px, 6vw, 61px);
  line-height: calc(clamp(41px, 6vw, 61px) * 1.2);
  font-weight: 700;
  color: #fff;
}

.hero h1 span {
  color: #edb54e;
}

@media (min-width: 768px) {
  .hero .hero-img {
    max-width: 630px;
  }
}

@media (max-width: 1200px) {
  .hero {
    margin-top: 80px;
  }
}

@media (max-width: 767px) {
  .hero {
    margin-top: 100px;
    height: calc(100vh - 100px - 50px);
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Default image-text text-image Section
--------------------------------------------------------------*/

.image-text ul {
  list-style: none;
  padding: 0;
}

.image-text ul li {
  padding-bottom: 10px;
}

.image-text ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.image-text p:last-child {
  margin-bottom: 0;
}

.image-text img {
  border-radius: 10px;
}

.image-text h2 {
  padding-bottom: 20px;
  position: relative;
}

.image-text h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  /*margin: auto;*/
}

.image-text .p-bottom {
  padding-bottom: 120px;
}

.with-bg {
  background-image: url("../img/with-bg.webp");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: auto;
}

@media (max-width: 767px) {
  .image-text .p-bottom {
    padding-bottom: 35px;
  }
}
/*--------------------------------------------------------------
# Activity Section
--------------------------------------------------------------*/
.activity {
  padding-bottom: 0px;
}

.activity-item h4 {
  margin-bottom: 0px;
}

.activity-item .img {
  border-radius: 8px;
  overflow: hidden;
}

.activity-item img {
  width: 100%;
  transition: 0.6s;
}

.activity-item:hover .img img {
  transform: scale(1.2);
}

.activity-item .details {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  transition: all ease-in-out 0.3s;
  text-align: center;
}

a.activity-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activity .container.activity-wrapp {
  margin-bottom: -70px;
  position: relative;
}

#naucenjak .activity-item:hover .img img {
  transform: none;
}

/*--------------------------------------------------------------
# News Section
--------------------------------------------------------------*/

.news.onhome {
  padding-top: 170px;
}

/* news and members swipers */

.news-swiper.swiper,
.members-swiper.swiper {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: -65px;
}

.news-swiper .buttons-wrap,
.members-swiper .buttons-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
  margin-top: 35px;
}

.swiper-button-next,
.swiper-button-prev {
  margin: 0 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  justify-content: center;
  left: auto;
  right: auto;
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  z-index: 10;
}

.swiper-button-next:after {
  content: url("../img/news-slider-right-arrow.svg");
}

.swiper-button-prev:after {
  content: url("../img/news-slider-left-arrow.svg");
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0.6;
}

.news-swiper h5,
.dicsution-pannell-wrapp h5,
.news .activity-item-details h5,
.news-item h5,
.recent-post-box .news-details h5 {
  color: #083d77;
  font-family: var(--default-font);
  font-weight: 600;
}

.news-swiper img,
.news-item img,
.recent-post-box img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.read-more-news {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-item.position-relative {
  margin-bottom: 20px;
}

/* Pagination */

.page-navigation {
  padding-top: 60px;
}
/*
ul.pagination {
  align-items: center;
  justify-content: center;
}

.page-link {
  color: var(--default-color);
  border: none;
  outline: none;
  box-shadow: none;
}

.page-link:hover,
.page-link:focus{
  z-index: 2;
  color: #083D77;
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link{
  border:none;
  border-radius: 8px;
}

.active>.page-link, .page-link.active{
  background-color: #EDEEF0;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: transparent;
  border: none;
  color: #262626;
  font-weight: 600;
  font-size: 20px;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}
*/

.page-navigation {
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
}

/* Stil za brojeve stranica */
.page-item:not(:first-child):not(:last-child) .page-link {
  font-size: 20px;
  color: #262626;
  background-color: #edeef0;
  border: none;
  padding: 10px 18px;
  min-width: 40px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin: 0px 5px;
  outline: none;
  box-shadow: none;
}

/* Hover efekat za brojeve stranica */
.page-item:not(:first-child):not(:last-child) .page-link:hover {
  background-color: #192e49; /* Tamnija siva kada se pređe mišem */
  color: #ffffff;
  outline: none;
  box-shadow: none;
}

/* Aktivna stranica - plava pozadina i bela slova */
.page-item.active .page-link,
.page-item.active:not(:first-child):not(:last-child) .page-link {
  background-color: #192e49;
  color: #ffffff;
  outline: none;
  box-shadow: none;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: transparent;
  border: none;
  color: #262626;
  font-weight: 600;
  padding: 10px 15px;
  font-size: 20px;
  outline: none;
  box-shadow: none;
}

.page-item.active:first-child .page-link,
.page-item.active:last-child .page-link {
  background: #192e49;
  border-radius: 8px;
  color: #ffffff;
  min-width: 40px;
  margin-right: 5px;
}

.page-item.active:last-child .page-link {
  margin-right: auto;
  margin-left: 5px;
}

/* Hover efekat za "Prethodna" i "Sledeća" */
/*.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
    text-decoration: underline;
}*/

/*--------------------------------------------------------------
# Single post
--------------------------------------------------------------*/

.row.single-post-wrapper {
  margin-top: 119px;
  padding-top: 50px;
  padding-bottom: 50px;
  justify-content: space-between;
}

.single-post-meta {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 24px;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-sidebar {
  padding: 25px;
  background: #f7f8fa;
  border-radius: 8px;
}

.recent-post-box {
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e1db;
  margin-bottom: 20px;
}

.post-sidebar .recent-post-box:last-child {
  border: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/*--------------------------------------------------------------
# Single page
--------------------------------------------------------------*/

.hero.single-page {
  height: 285px;
}

.quote {
  padding-bottom: 0px;
}

.quote-section-block h5 {
  font-weight: 400;
  color: #262626;
  margin-bottom: 10px;
}

.quote-section-block h6 {
  font-weight: 400;
  color: #4c4c4c;
}

.quote-section-block {
  background-image: url("../img/navodnici.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto;
  padding: 60px 80px 0px;
}

.quote-section-block.no-bg-img {
  background-image: none;
  padding-top: 15px;
}

.administration {
  background-image: url("../img/uprava-bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

p.up-title {
  font-family: var(--heading-font);
  font-size: clamp(19px, 4vw, 25px);
  line-height: calc(clamp(19px, 4vw, 25px) * 1.2);
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-item.position-relative p {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 13px;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
}

@media (max-width: 1200px) {
  .quote-section-block{
    padding: 60px 40px 0px;
  }

  .quote-section-block h5 i br{
    display: none;
  }
}

@media (max-width: 767px) {
  .quote-section-block {
    padding: 25px 0px 0px;
  }

  .hero.single-page {
    height: 150px;
  }

  .tab-content .quote {
    padding-top: 5px;
  }
}
/* swiper gallery */

.single-page-swiper .buttons-wrap {
  display: flex;
  padding-top: 20px;
}

.single-page-swiper .swiper-button-prev {
  left: 0px;
  margin: 0px;
}

.single-page-swiper .swiper-button-next {
  left: 5px;
  margin: 0px;
}

.single-page-swiper .swiper-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #8c0327;
  font-size: 20px;
  font-weight: 600;
}

.service-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-item h5 {
  margin-top: 15px;
  margin-bottom: 7px;
}

/*--------------------------------------------------------------
# Faq page
--------------------------------------------------------------*/
.faq .section-title {
  padding-bottom: 20px;
}

.faq .faq-container .faq-item {
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Accordion section
--------------------------------------------------------------*/
.accordion-item {
  background-color: #f7f8fa;
  border: 1px solid #edeef0;
  margin-bottom: 15px;
  border-radius: 8px;
}

.accordion-item:not(:first-of-type) {
  border-top: 1px solid #edeef0;
}

.accordion-button:not(.collapsed) {
  background-color: #f7f8fa;
  box-shadow: none;
  border-bottom: none;
  border-radius: 0px;
}

.accordion-button {
  border-radius: 8px;
  background-color: #f7f8fa;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button p {
  color: #272a33;
  font-weight: 600;
  font-family: var(--default-font);
}

.accordion-button svg {
  margin-right: 10px;
}

.accordion-body {
  padding-bottom: 20px;
}

.accordion-body p,
.accordion-item {
  color: var(--default-color);
}

.accordion-item .activity-item .details p {
  font-size: 13px;
  line-height: 17px;
  color: #ffffff;
}

.accordion-item .activity-item img{
  cursor: pointer;
}

.accordion-collapse {
  border-top: 1px solid #edeef0;
}

.accordion-body .activity-item .details {
  bottom: 10px;
}

.light-background .accordion-item,
.light-background .accordion-button:not(.collapsed),
.light-background .accordion-button {
  background-color: #ffffff;
}

.light-background .accordion-item ul li a {
  color: var(--accent-color);
  font-weight: 700;
}

.dicsution-pannell-wrapp {
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Members section - swiper style
--------------------------------------------------------------*/

.members-swiper .member-item {
  text-align: center;
}

.members-swiper .member-item img {
  margin-bottom: 20px;
}

.members-swiper .member-item h6 {
  margin-bottom: 4px;
  color: #272a33;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/

.cta-section {
  padding: 50px 0 70px;
}

.cta-section .cta-btn {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  background: url(../img/cta-btn-bg.webp);
  background-size: cover;
  background-position: top center;
  position: relative;
  overflow: hidden;
  padding: 15px 50px 40px;
  border-radius: 16px;
  color: #fff;
}

.cta-section .cta-btn h3 {
  color: #fff;
  padding-bottom: 20px;
  position: relative;
}

.cta-section .cta-btn h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 2px;
  background: #ffffff;
  left: 0;
  right: 0;
  bottom: 0;
}

.cta-section .cta-btn p {
  margin-bottom: 20px;
}

.cta-section .cta-mail {
  display: flex;
  align-items: center;
}

.cta-section .cta-mail a {
  color: #ffffff;
  padding-left: 10px;
  font-weight: bold;
}

.cta-section .php-email-form input[type="text"],
.cta-section .php-email-form input[type="email"],
.cta-section .php-email-form textarea {
  font-size: 13px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--default-color);
  background-color: var(--surface-color);
  margin-bottom: 10px;
}

.cta-section .php-email-form input[type="text"]:focus,
.cta-section .php-email-form input[type="email"]:focus,
.cta-section .php-email-form textarea:focus {
  border-color: #192e49;
}

.cta-section .php-email-form input[type="text"]::placeholder,
.cta-section .php-email-form input[type="email"]::placeholder,
.cta-section .php-email-form textarea::placeholder {
  color: #80838a;
}

.cta-section .php-email-form textarea {
  height: 130px;
  resize: none;
}

.cta-section .php-email-form button[type="submit"] {
  color: var(--accent-color);
  background: var(--contrast-color);
  border: 0;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.cta-section .php-email-form button[type="submit"]:hover {
  background: #192e49;
  color: var(--contrast-color);
}

@media (max-width: 767px) {
  .cta-section {
    padding: 10px 0 25px;
  }

  .cta-section .cta-btn {
    padding: 0px 20px 25px;
  }
}

/*--------------------------------------------------------------
# Tabs pages
--------------------------------------------------------------*/

.tabs .nav-tabs {
  position: relative;
  margin-top: -42px;
  z-index: 2;

  border: 1px solid #edeef0;
  border-radius: 8px;
  background: #f7f8fa;
  padding: 0px 7px;
}

.tabs .nav-tabs li.nav-item {
  padding: 14px 7px;
}

.tabs .nav-tabs .nav-link {
  border: none;
  border-radius: 4px;
  color: #272a33;
  font-size: clamp(19px, 4vw, 25px);
  line-height: calc(clamp(19px, 4vw, 25px) * 1.2);
  transition: 0.3s;
  font-weight: 600;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover,
.tabs .nav-tabs .nav-link:focus,
.tabs .nav-tabs .nav-link:focus-visible {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  outline: none;
  box-shadow: none;
}

.tab-content .quote {
  padding-top: 20px;
}

@media (max-width: 767px) {
  .tabs .nav-tabs {
    display: block;
    margin-top: -25px;
    padding: 0px;
  }

  .tabs .nav-tabs li.nav-item {
    width: 100%;
    text-align: center;
    padding: 5px;
  }
}

/*--------------------------------------------------------------
# Mentor video
--------------------------------------------------------------*/
.video-container {
  position: relative;
  /*width: 620px;*/
  max-width: 100%;
  /*aspect-ratio: 16 / 9;*/
  aspect-ratio: 3 / 2;
  background: url(../img/Mentorski-video-cover.webp) center/cover no-repeat;
  cursor: pointer;
  border-radius: 8px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.iframe-wrapper {
  display: none;
  width: 100%;
  height: 100%;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.blue-bg-box {
  background: #192e49;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 7px;
  margin-top: 10px;
}

.blue-bg-box p,
.blue-bg-box h6,
.blue-bg-box h5 {
  margin-bottom: 0px;
  color: #ffffff;
}

/*--------------------------------------------------------------
# Individual page
--------------------------------------------------------------*/

.indiv-p .image-text.section {
  padding-bottom: 235px;
}

.indiv-p .section.light-background {
  overflow: visible;
  padding-bottom: 35px;
}

.indiv-p .activity-item {
  margin-top: -250px;
  overflow: auto;
  margin-bottom: 60px;
}

.indiv-p .container.section-title {
  max-width: 850px;
  width: 100%;
}

/*******************/

/* Stil za ceo modal - skriven u startu */
/* Modal mora biti sakriven na početku */
.custom-modal {
  display: none; /* Ovim sprečavamo da bude vidljiv na učitavanju stranice */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Modal je nevidljiv */
  visibility: hidden; /* Sprečava klikove dok nije aktivan */
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Kada je modal aktivan (otvoren), postaje vidljiv */
.custom-modal.show {
  opacity: 1;
  visibility: visible;
}

/* Slika u modalu */
.modal-content-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Dugme za zatvaranje */
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.close-modal:hover {
  color: #ccc;
}

/* Loader - cela stranica prekrivena dok se učitava */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Animacija kruga */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #8c0327;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animacija okretanja */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

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

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

  .navmenu ul {
    display: none;
    list-style: none;
    /*position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;*/
    margin: 0;
    /*border-radius: 6px;*/
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 99999;
    /*box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);*/
    position: fixed;
    margin-top: 114px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 18px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    font-weight: 500;
  }

  .navmenu a:hover i {
    color: #000;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    color: #000;
    /*transform: rotate(180deg);*/
  }

  .navmenu .dropdown .active i,
  .navmenu .dropdown .active:focus i {
    color: #000;
    /*transform: rotate(90deg);*/
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 0px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.6s ease-in-out;
    box-shadow: none;
  }

  .navmenu .dropdown ul ul li a {
    padding-left: 30px;
    color: #67697b;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    padding: 0px;
    padding-left: 15px;
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #000;
    /*position: absolute;*/
    font-size: 30px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    /*position: fixed;*/
    overflow: hidden;
    inset: 0;
    /*background: rgba(33, 37, 41, 0.8);*/
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  .navmenu ul {
    padding: 0px;
    padding-top: 0px;
    border-radius: 0px;
    inset: 0;
    box-shadow: none;
  }

  .mobile-nav-active .navmenu ul li {
    border-top: 1px solid #ebecf2;
  }
}

@media (max-width: 767px) {
  .navmenu ul {
    margin-top: 98px;
  }

  .navmenu li.mobile-only {
    display: block !important;
  }

  .news.onhome {
    padding-top: 120px;
  }

  .news-swiper .buttons-wrap,
  .members-swiper .buttons-wrap {
    margin-bottom: 20px;
    margin-top: 60px;
  }

  #accordionAssociation {
    margin-top: 20px;
  }

  .col-order-2 {
    order: 2;
  }

  .single-page-swiper .gallery-item p br {
    display: none;
  }

  .indiv-p .image-text.section {
    padding-bottom: 90px;
  }

  .indiv-p .activity-item {
    margin-top: -100px;
    margin-bottom: 5px;
  }

  .indiv-p .activity-item p {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0px;
  }

  .row.single-post-wrapper {
    margin-top: 75px;
  }

  .pagination .page-item:not(:first-child):not(:last-child) {
    display: none;
  }

  .pagination .page-item:first-child,
  .pagination .page-item:last-child,
  .pagination .page-item:nth-child(2),
  .pagination .page-item:nth-last-child(2) {
    display: inline-block;
  }

  .footer .footer-links {
    margin-bottom: 0px;
  }
}

/** CSS za single postove **/

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5em;
}

.wp-block-column {
  flex: 1;
  min-width: 0;
}

.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5em;
}

.wp-block-gallery .wp-block-image {
  margin: 0;
  flex: 1 1 calc(50% - 0.5rem); /* Dve slike u redu */
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

:where(.wp-block-cover-image:not(.has-text-color)),
:where(.wp-block-cover:not(.has-text-color)) {
  color: #fff !important;
}
