
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

:root {
  --background-color: #ffffff;
  --primary: #2b5588;
  --secondary: #eef7ff; 
  --primary-hover: #1f3e63;
  --color-gray: #2b55880d;
  --text-color: #1D1D1D;
  --text-white: #fff;
}


body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color); 
}

a {
  text-decoration: none;
  color: var(--primary);
}

a:hover {
  color: var(--primary);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-align: center;
    min-width: 220px;
    padding: 0 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 42px;
    white-space: nowrap;
    border: 2px solid transparent;
    border-radius: 100px !important;  
    outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-white);
}

.btn-outline {
  border-color: var(--primary);
  background-color: var(--background-color);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: var(--secondary);
}

.title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  
  margin-bottom: 50px;
  text-align: center;
} 

.title-box h2 {
  margin-bottom: 10px;
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

.title-box p {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 0; 
}

.divider {
  width: 100%;
  height: 5px;
  background-color: var(--secondary);
} 




/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  z-index: 997;
  transition: all 0.5s;
  background: var(--background-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e6e6e9;
}

#header .container {
  padding: 10px 0;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 4em;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  list-style: none;
  gap: 30px;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px;
  border-radius: 5px;
  color: var(--text-color);
  white-space: nowrap;
  transition: 0.3s;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--primary);
  background-color: var(--color-gray);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

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

.navbar .dropdown ul li {
  max-width: 200px;
  margin-bottom: 10px;
}

.navbar .dropdown ul li:last-child {
  margin-bottom: 0;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 500;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: var(--primary);
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--primary);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(21, 27, 26, 0.8);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--primary);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: var(--primary);
  background-color: var(--color-gray);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  max-width: 200px;
}

.navbar-mobile .dropdown ul li {
  max-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

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

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: var(--primary);
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 0;
}

#hero .hero-inner {
  text-align: center; 
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .text-box {
  width: 100%;  
  height: 100%; 
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;  
  background-color: rgba(21, 27, 26, 0.75);
}

#hero h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 48px;
  font-weight: 700;
}

#hero span {
  color: var(--secondary);  
}

#hero p {
  width: 80%;
  animation-delay: 0.4s;
  margin-bottom: 15px;
  color: #fff;
}

.btn-group {
  display: flex;  
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
    max-width: 20ch;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 60%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--primary);;
}

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

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/

#about {
  padding-bottom: 80px;
}

#about .container {
  display: grid;
  gap: 30px;
}

.about h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--primary);;
}

.about ul {
  list-style-type: none;
  padding: 0;
}

.about li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.about .check {
  background-color: var(--primary);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}

.about .about-list p {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 0;
}

.about p {
  font-size: 16px;
  line-height: 24px;
}

.about .cards-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}





/*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/

.services {
  padding-top: 80px;
  background-color: var(--background-color); 
}

.services .title-box {
  margin-bottom: 50px;
  text-align: center;
} 

.services .container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.services .card {
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  background-color: transparent;
  border: none;
  margin-bottom: 40px;
}

.services .card:nth-child(2n) {
  flex-direction: row-reverse;
} 

.services .card:nth-child(2n) div {
  margin-left: 60px;
}

.services .card div {
  margin-right: 60px;
}

.services .card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  max-width: 500px;
  height: 100%;
  border-radius: 15px;
  box-shadow: 1px 4px 16px 2px rgba(0,0,0,0.36);
  -webkit-box-shadow: 1px 4px 16px 2px rgba(0,0,0,0.36);
  -moz-box-shadow: 1px 4px 16px 2px rgba(0,0,0,0.36);
}

.services h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 0;
  color: var(--primary);;
}

.services .card p {
  max-width: 50ch;
}
.services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

.services .icon-box::before {
  content: "";
  position: absolute;
  background: #aff4e9;
  right: -60px;
  top: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50px;
  transition: all 0.3s;
  z-index: -1;
}

.services .icon-box:hover::before {
  background: var(--primary);
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 0px;
}

.services .icon {
  margin: 0 auto 20px auto;
  padding-top: 10px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background: var(--primary);
  transition: all 0.3s ease-in-out;
}

.services .icon i {
  font-size: 36px;
  line-height: 1;
  color: #fff;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #425451;
}

.services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
  color: #fff;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: var(--primary);
}




/*--------------------------------------------------------------
# Događaji
--------------------------------------------------------------*/
.events {
  background-color: var(--secondary);
}

.events .container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.events .title-box p {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 0; 
}

.events .cards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.events .regular {
  margin-bottom: 80px;
}

.events .soon {
  margin-bottom: 40px;
}

.events .soon .card {
  flex-direction: column; 
}

.events .wrapper {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap: 20px;
}

.events .soon .date {
  padding: 10px 20px;
}

.events .soon .description {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 0; 
}

.events .place {
  margin-top: auto;
}

.events .card {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap: 20px;
  padding: 30px 30px 15px 30px;
  background: #fff;
  border-radius: 10px;
}

.events .card:hover {
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease-in-out; 
}

.events .date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--color-gray);
  border-radius: 5px;
  color: var(--primary);
}

.events .link {
  border-radius: 10px !important;
  padding: 5px;
  line-height: 25px;
  background-color: #25d366;
  color: #fff;
  min-width: 150px
}

.events .link:hover {
  background-color: #20BD5A;
  border: 2px solid transparent;
}

.events .invite:hover {
  background-color: var(--color-gray);
  border: 2px solid var(--primary);
}

.btn svg {
  width: 25px;
  height: 25px;
  color: var(--background-color);
}

.events .day {
  font-size: 16px;
}

.events .time {
  font-size: 20px;
  font-weight: 500;
}

.events .content {
  margin-left: 20px;
}

.questions .container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.questions .quote {
  background-color: var(--secondary);
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
}

.questions .quote p {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 0; 
}

.questions .questions-list {
  padding: 30px;
  border: 2px solid var(--primary);
  border-radius: 10px;
  max-width: 1000px;
  margin-bottom: 40px;
}

.questions .questions-list h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.questions .question {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.questions .question:last-child {
  margin-bottom: 0;
}

.questions svg {
  color: var(--primary);
}

.questions .answer {
  padding-left: 32px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  margin: 0;
}

.resources {
  background-color: var(--color-gray);
}

.resources .container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.resources .books {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resources .books-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;  
  margin-bottom: 40px;
}

.resources .books-container + .hidden {
  display: none;
}

.resources .book-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  padding: 30px;
  background: var(--secondary);
  border-radius: 10px;
  border: 1px solid var(--primary);
}

.resources .book-item:hover {
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease-in-out; 
}

.resources .book-item img {
  width: 200px;
  height: 300px;
  margin-bottom: 20px;
}

.resources .book-item svg {
  position: absolute;
  top: 10px;
  right: 0px;
}

.resources .book-item .portfolio-info {
  color: var(--text-color);
}

.resources .btn {
  margin-bottom: 100px;
}

.resources .btn svg {
  color: var(--primary);
}

.resources .archive {
  margin-bottom: 40px;
}

.resources .swiper {
  background-color: var(--secondary);
  padding: 50px 30px;
  margin-bottom: 100px;
  border-top: 2px solid var(--primary); 
  border-bottom: 2px solid var(--primary);
}

.resources .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.resources .swiper-slide .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.resources .swiper-button-next, 
.resources .swiper-button-prev {
  color: var(--primary);
  background-color: var(--background-color);
  text-align: center;
  padding: 25px;
  border-radius: 30px;
}

.resources .swiper-button-next:after, 
.resources .swiper-button-prev:after {
  font-size: 30px;
}

.resources .swiper-button-next:after {
  margin-left: 5px;
}

.resources .swiper-button-prev:after {
  margin-right: 5px;
}

.resources .video-item {
  border-radius: 10px;
  overflow: hidden;
  max-height: 500px;
}

.contact {
  background-color: #eef7ff4d;
}

.contact .wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.contact .info-item {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 20px;
}

.contact i {
  background-color: #2b55881a;
  color: var(--primary);
  padding: 10px;
  border-radius: 10px;
}

.contact .info-item .title {
  font-size: 18px;
  font-weight: 600;
}

.contact i::before {
  font-size: 25px;
}

.contact .addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact .socials-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .socials {
  margin-bottom: 50px;
}

.contact form {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 10px;
}

.contact form input, textarea {
  width: 500px;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 7px;
  border: 2px solid #1d1d1d1a;
}

.contact .form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact .btn-primary {
  border-radius: 7px !important;
}

footer {
  background-color: var(--primary);
  color: var(--background-color);
  padding: 50px 0 30px 0;
  text-align: center;
}

footer .wrapper .container {
  margin-bottom: 30px;
}

footer h4 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.footer-box .title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.footer-box img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

footer li {
  font-size: 18px;
  margin-bottom: 10px;
}

footer .copyright-box {
  padding-top: 30px;
  border-top: 2px solid var(--background-color);
  margin: 0;
  width: 100%;
  max-width: none;
}



@media (max-width: 1024px) {
  .services .container {
    margin-bottom: 0;
  }

  .services .card, 
  .services .card:nth-child(2n) {
    flex-direction: column-reverse;
    text-align: center;
  }

  .services .card div, 
  .services .card:nth-child(2n) div {
    margin: 0;
    margin-top: 20px;
  }

  .services .card p {
    max-width: none;
  }

  .services .card img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .resources .books-container {
    grid-template-columns: 300px 300px;
  }

  .resources .swiper .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .resources .video-container {
    max-width: 700px;
  }

  .contact .wrapper {
    flex-direction: column;
    gap: 30px;
  }
} 

/*--------------------------------------------------------------
# Mobile Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 768px) {

  #header {
    padding: 0 10px;
  }

  .navbar .dropdown {
    margin-top: 20px;
  }

  section {
    padding: 50px 0;
  }

  .title-box p {
    max-width: 60ch;
  }

  #hero .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  /* General */
  .title-box h2,
  .section-title h2 {
    font-size: 32px;
  }

  /* About */
  .about {
    text-align: center;
  }
  .about .cards-container {
    grid-template-columns: 1fr;
  }
  .about li {
    justify-content: center;
  }

  .about li p {
    font-size: 14px;
    max-width: 30ch;
    text-align: left;
  }

  .about .check {
    font-size: 12px;
  }

  /* Services */
  .services .container {
    margin-bottom: 0;
  }

  .services .card, 
  .services .card:nth-child(2n) {
    flex-direction: column-reverse;
    text-align: center;
  }

  .services .card div, 
  .services .card:nth-child(2n) div {
    margin: 0;
    margin-top: 20px;
  }

  .services .card img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Events */
  .events .cards-list {
    grid-template-columns: 1fr;
  }
  
  .events .regular .wrapper {
    flex-direction: column;
  }

  .events .soon h3 {
    font-size: 24px;
  }

  .events .soon p {
    font-size: 14px;
  }
  
  .events .card {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Resources */
  .resources .books-container {
    grid-template-columns: 1fr;
  }

  .resources .book-item {
    max-width: 300px;
  }

  .resources .book-item svg {
    width: 40px;
    height: 40px;
    right: 5px;
  }

  .resources .btn {
    margin-bottom: 50px;
  }

  .resources .swiper {
    padding: 50px 10px;
    margin-bottom: 50px;
  }

  .resources .swiper .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .resources .video-item {
    max-height: 300px;
  }

  .resources .video-item iframe {
    width: 300px;
    height: 300px;
  }

  /* Contact */
  .contact .wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .contact form {
    width: 100%;
    padding: 20px;
  }

  .contact form input, 
  .contact form textarea {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/

@media (max-width: 1024px) {
  .contact .info {
    padding: 30px;
  }
}


/*--------------------------------------------------------------
# Map Buttons & Containers
--------------------------------------------------------------*/
.map-btn {
  min-width: auto !important;
  padding: 8px 20px !important;
  margin: 5px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.map-btn:hover,
.map-btn.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.map-container {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.city-content {
  margin-top: 20px;
}
