@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 0.938rem;
  background-color: #f8f8ff;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #fff; 
}
 
::-webkit-scrollbar-thumb {
  background-color: #6a11cb;
  border-radius: 3px;
  cursor: grab;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #610fb9;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin-inline: 1.5rem;
}
.kontenjerffval{
  width: 100%;
    margin: 0 auto;
    padding: 0rem 5.5rem;
}
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: hsl(220, 24%, 12%);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: 900;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav {
  height: 4.5rem; padding: 0rem 2rem;
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: #fff;
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  height: 100%;
}

.nav__logo img {
  height: 100%;
  padding: 1rem;
  margin-left: 2.3rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

#uclanise {
  color: whitesmoke;
  background-color: #6a11cb;
  height: 50%;
  font-weight: 600;
  position: relative;
  top: 50%;
  border-radius: 1.5rem;
  transform: translate(-50%, -50%);
  padding: 0.625rem 1.25rem;
  margin-left: 2rem;
  transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
}

#uclanise:hover {
  background-color: whitesmoke;
  color: #6a11cb;
}

main {
  width: 100%;
  display: flex;
  height: calc(100vh - 5.5rem);
}

#lijevo {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  color: black;
  padding-left: 5.5rem;
}

#lijevo h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 7rem;
  letter-spacing: 0.7rem;
  font-weight: 900;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#lijevo h2 {
  margin-top: -1.8rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.02rem;
  font-weight: 300;
  padding: 0.5rem 0rem;
}

#lijevo p {
  padding: 0.2rem 0rem;
  font-size: 1rem;
}

#desno {
  width: 50%;
  display: flex;
  justify-content: end;
  align-items: center;
}

#desnislikaplaceholder {
  width: 100%;
  height: 70%;
  background-size: cover;
  background-position: center;
  border-radius: 2rem 0rem 0rem 2rem;
  position: relative;
  background-color: #000000;
}

#desnislikaplaceholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 1;
  border-radius: 0rem 0rem 0rem 2rem;
  pointer-events: none;
}

.glass-container {
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.171);
  border-radius: 12px;
  border: 1px solid rgba(209, 213, 219, 0.3);
  padding: 1rem;
  margin: 1rem 0;
}

.popup {
  position: fixed;
  top: 7rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

.popup.success {
  border: none;
  background: white;
}

.popup.error {
  border: none;
  background: white;
}

.popup.show {
  opacity: 1;
  transform: translateY(0);
}

.popup i {
  font-size: 1.25rem;
  color: #16a34a;
}

.popup span {
  color: #1f2937;
  font-weight: 500;
  font-size: 0.875rem;
}



.latest-news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  color: white;
  z-index: 2;
  text-align: left;
 background: linear-gradient(
  to top, 
  rgba(0, 0, 0, 0.6) 0%,  
  rgba(0, 0, 0, 0.4) 80%,  
  rgba(0, 0, 0, 0) 100%     
);
  border-radius: 0rem 0rem 0rem 2rem;
}

.latest-news-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-news-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.latest-news-content a {
  font-size: 1rem;
  color: #D4AF37;
  text-decoration: none;
  font-weight: bold;
}

.latest-news-content a:hover {
  text-decoration: underline;
}

.floating-menu {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  width: 55px;
  height: 55px;
  background-color: #6a11cb;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 140;
  transition: transform 0.3s ease;
}

.floating-menu:hover {
  transform: scale(1.1);
}

.menu-options {
  position: fixed;
  bottom: 7rem;
  right: 2.8rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 109;
}

.menu-options a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #2575fc;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu-options a:hover {
  background-color: #6a11cb;
  transform: scale(1.1);
}

.menu-options a span {
  display: none;
}

.menu-options a:hover span {
  display: inline-block;
  position: absolute;
  bottom: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.visibility-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: #6a11cb;
  color: white;
  z-index: 102;
}

.visibility-badge.private {
  background: #dc3545;
}

.login-icon {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: #6a11cb;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-icon:hover {
  background-color: #2575fc;
}

.add-news-btn {
  position: fixed;
  bottom: 1rem;
  right: 70px;
  background-color: #6a11cb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-news-btn.admin-visible {
  display: block;
}

.add-news-btn:hover {
  background-color: #2575fc;
}

#gumboviuheaderu {
  padding-top: 30px;
  margin-left: -3px;
}

#gumboviuheaderu :nth-child(1) {
  background-color: #6a11cb;
  border: 2px solid #6a11cb;
  color: white;
}

.gumbheader {
  margin: 0rem 0.4rem;
  color: #6a11cb;
  border: 2px solid #6a11cb;
  font-weight: 600;
  border-radius: 1.5rem;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s ease;
}

#gumboviuheaderu :nth-child(1):hover {
  background-color: #6b11cb00;
  color: #6a11cb;
}

.gumbheader:hover {
  background-color: #6a11cb;
  color: white;
}

#sekcije {
  width: 100%;
  min-height: 80vh;
  display: flex;
  padding-top: 2rem;
}

#opisseksicje {
  width: 35%;
  margin-top: -7rem;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}

#opisseksicje h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  letter-spacing: 0.1rem;
  font-weight: 900;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#opisseksicje p {
  font-size: 1rem;
}

#unutarsekcije {
  display: grid;
  width: 65%;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 18rem);
  gap: 2rem;
  padding: 1rem;
}

.kartica-sekcije {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: white;
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  justify-content: space-between;
}

.tekst-sekcija {
  width: 30%;
  height: 100%;
  padding: 2rem 0rem 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tekst-sekcija h3 {
  font-size: 2rem;
  position: relative;
  top: 2rem;
  left: 2rem;
}

.gumbsekcije {
  position: relative;
  bottom: 2rem;
  left: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #6a11cb;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 9rem;
}

.gumbsekcije:hover {
  color: rgb(0, 0, 0);
  transform: scale(1.1);
}

.slika-sekcije {
  width: 60%;
  height: 90%;
  object-fit: contain;
  background-position: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  background-repeat: no-repeat;
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sekcija-robotika {
  grid-column: 1 / 2;
}

#sekcija-fotografija {
  grid-column: 2 / 3;
}

#sekcija-fotografija img {
  height: 60%;
  transform: rotate(-15deg);
  margin-left: 3rem;
}

#sekcija-film {
  grid-column: 1 / 2;
}

#sekcija-film img {
  height: 80%;
}

#sekcija-modelarstvo {
  grid-column: 2 / 3;
}

#sekcija-modelarstvo img {
  transform: rotate(25deg);
  height: 70%;
  margin-left: 5rem;
}
#sek{
  width: 100%;
  padding: 1rem 0rem;
}
#sekcija-uclanise {
  width: 100%;
  padding: 1.75rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: hsl(220, 24%, 12%);
}

#sekcija-uclanise h4 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

#gumbsekcijeuclanise {
  position: block !important;
  bottom: 0;
  left: 0;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
}

.gallery-grid {
  display: block;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.more {
  background: rgba(106, 17, 203, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #6a11cb;
  transition: background-color 0.3s ease;
}

.gallery-item.more:hover {
  background: rgba(106, 17, 203, 0.2);
}

.gallery-item.main-preview {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  margin: 0 auto;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.images-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.image-preview-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(106,17,203,0.08);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-actions {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.image-preview-item:hover .image-actions {
  opacity: 1;
}
.fifes-badge{
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.action-btn {
  background: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.action-btn:hover {
  transform: scale(1.1);
  background: #f1f3f5;
}

.action-btn i {
  font-size: 1.2rem;
  color: #000;
}

.thumbnail-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #6a11cb;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.upload-area {
  background: white;
  border: 2px dashed #e9ecef;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.upload-area.drag-over {
  border-color: #6a11cb;
  background: rgba(106, 17, 203, 0.05);
}

.upload-area i {
  font-size: 2.5rem;
  color: #6a11cb;
  margin-bottom: 1rem;
}

.upload-area p {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 0.5rem;
}

.upload-area span {
  font-size: 0.875rem;
  color: #6c757d;
}v

#najnovije-vijesti {
  padding: 2rem 0rem;
}

#naslovisaznajvise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  padding: 0.6rem 0rem;
}

#naslovisaznajvise a {
  font-weight: 800;
  color: #6a11cb;
}

#najnovije-vijesti .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3rem;
}

#najnovije-vijesti .news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: filter 0.3s ease;
}

#najnovije-vijesti .news-image {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: filter 0.4s ease;
}

#najnovije-vijesti .news-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
  margin: 0.7rem 0rem;
}

#najnovije-vijesti .news-date {
  font-size: 0.9rem;
  color: #888888;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#najnovije-vijesti .news-date i {
  font-size: 1rem;
  color: #6a11cb;
}

#najnovije-vijesti .news-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8rem;
}

#najnovije-vijesti .news-description {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.7rem 0rem;
  word-spacing: 1px;
}

#najnovije-vijesti .news-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.7rem;
}

#najnovije-vijesti .news-link {
  font-size: 0.8rem;
  color: #D4AF37;
  text-decoration: none;
  font-weight: bold;
  padding-right: 0.2rem;
}

#najnovije-vijesti .news-link:hover {
  text-decoration: underline;
}

.news-page-main {
  display: block;
  background: #f9f9f9;
  padding: 2rem 0rem;
}

.news-page-hero {
  padding: 6rem 6rem 2.5rem;
  background: linear-gradient(135deg, #0f172a, #1e2a47);
  color: #fff;
}

.news-page-hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.25rem;
  letter-spacing: 0.08rem;
  margin-bottom: 0.5rem;
}

.news-page-hero p {
  max-width: 720px;
  line-height: 1.7;
  color: #e5e7eb;
}

.all-news-section {
  padding: 2rem 6rem 4rem;
  background: #f9f9f9;
  padding-bottom: 6rem;
}

.all-news-section .news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.all-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.all-news-meta {
  color: #6b7280;
  font-size: 0.95rem;
}

.all-news-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #4b5563;
  background: #fff;
  border-radius: 1rem;
  border: 1px dashed #e5e7eb;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.pagination a,
.pagination span {
  min-width: 2.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 2rem;
  border: 1px solid #e5e7eb;
  color: #1f2937;
  font-weight: 600;
  text-align: center;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.pagination a:hover:not(.active):not(.disabled) {
  border-color: #6a11cb;
  color: #6a11cb;
  transform: translateY(-1px);
}

.pagination .active {
  background: #6a11cb;
  color: #fff;
  border-color: transparent;
}

.pagination .disabled {
  color: #9ca3af;
  pointer-events: none;
  background: #f3f4f6;
  border-color: #e5e7eb;
}

.news-image:hover {
  filter: brightness(0.8);
  cursor: pointer;
}

.delete-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.delete-modal.show {
  opacity: 1;
}

.delete-modal-content {
  background: white;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.delete-modal.show .delete-modal-content {
  transform: scale(1);
}

.delete-modal-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc3545;
  font-size: 1.2rem;
}

.delete-modal-header h3 i {
  font-size: 1.5rem;
}

.delete-modal-body {
  padding: 2rem 1.5rem;
}

.delete-warning {
  color: #dc3545;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.delete-modal-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.delete-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.delete-modal .btn-cancel,
.delete-modal .btn-confirm-delete {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.delete-modal .btn-cancel {
  background: #6c757d;
  color: white;
}

.delete-modal .btn-confirm-delete {
  background: #dc3545;
  color: white;
}

.delete-modal .btn-cancel:hover {
  background: #545b61;
}

.delete-modal .btn-confirm-delete:hover {
  background: #aa1c2a;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.7); }
  to { transform: scale(1); }
}

.vijest-container {
  max-width: 1200px;
  margin: 3rem auto 3rem;
  padding: 0 2rem;
}

.vijest-header {
  position: relative;
  margin-bottom: 3rem;
}

.vijest-image-container {
  position: relative;
  width: 100%;
  height: 30rem;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vijest-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vijest-image-container:hover img {
  transform: scale(1.02);
}

.vijest-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.vijest-meta h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
 
}

.vijest-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
}

.vijest-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vijest-info i {
  font-size: 1.2rem;
  color: #D4AF37;
}

.vijest-content {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 2rem;
  align-items: start;
}

.vijest-text {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vijest-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

.vijest-text a {
  color: #6a11cb;
  text-decoration: underline;
  transition: color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-all;
}

.vijest-text a:hover {
  color: #550ea1;
}

#zastrane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sidebar-section {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #333;
  transition: all 0.3s ease;
}

.share-button:hover {
  transform: translateY(-3px);
  color: white;
}

.share-button.facebook:hover { background: #1877f2; }
.share-button.whatsapp:hover { background: #25d366; }
.share-button.copy-link:hover { background: #6a11cb; }

.admin-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.edit-btn {
  background: #6a11cb;
}

.edit-btn:hover {
  background: #550ea1;
}

.delete-btn {
  background: #dc3545;
}

.delete-btn:hover {
  background: #a51a28;
}

.action-menu-btn {
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1;
}

.action-menu-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.action-menu-btn i {
  font-size: 20px;
  color: #6a11cb;
  z-index: 1;
}

.action-menu {
  position: relative;
  right: 0;
  top: 75%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  min-width: 12rem;
  display: none;
  z-index: 10 !important;
}

.action-menu.show {
  display: block;
  animation: menuFadeIn 0.2s ease;
  z-index: 123;
  position: absolute;
}

.action-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  z-index: 264;
}

.action-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.action-menu-item.delete {
  color: #dc3545;
}

.action-menu-item.delete:hover {
  background: rgba(220, 53, 69, 0.1);
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.vijest-gallery {
  margin-bottom: 1.2rem;
  background: white;
  padding: 1.2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vijest-gallery h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  color: #333;
  font-size: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item-overlay i {
  color: white;
  font-size: 2rem;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-overlay i {
  transform: scale(1);
}

.copy-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.copy-notification.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #6a11cb;
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-content i {
  font-size: 20px;
}

.admin-container {
  width: 90%;
  margin: 2rem auto;
  padding: 2rem;
  
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-title {
  font-size: 2rem;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-table th {
  background: #6a11cb;
  color: white;
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  vertical-align: middle;
}

.news-table td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
  line-height: 1.2;
}

.news-table th:first-child,
.news-table td:first-child {
  padding-left: 2rem;
}

.news-table th:last-child,
.news-table td:last-child {
  padding-right: 2rem;
  text-align: right;
}

.action-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 100;
}

.news-table td:nth-child(1) { width: 100px; }
.news-table td:nth-child(2) { width: 40%; }
.news-table td:nth-child(3) { width: 20%; }
.news-table td:nth-child(4) { width: 15%; }
.news-table td:nth-child(5) { width: 100px; }

.news-table tr {
  padding: 1rem;
  border-bottom: 2px solid #eee;
  margin: auto;
}

tr {
  position: relative;
}

.action-buttons {
  height: 100%;
}

.news-table tr:hover {
  background: rgb(251, 251, 252);
}

.action-buttons {
  gap: 0rem 0.5rem;
  display: flex;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  gap: 0.2rem;
}

.btn-edit {
  background: #6a11cb;
  color: white;
  border-radius: 1.5rem;
}

.btn-delete {
  background: #dc3545;
  color: white;
  border-radius: 1.5rem;
}

.btn-add {
  background: #6a11cb;
  color: white;
  border-radius: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.visibility-indicator {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.visibility-public {
  background: #6a11cb;
  color: white;
}

.visibility-publics {
  color: white;
}

.visibility-privates {
  color: white;
}

.visibility-private {
  background: #dc3545;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1.5rem;
  box-sizing: border-box;
}

.modal-content {
  background: white;
  border-radius: 1.5rem;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #e9ecef;
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal-close {
  font-size: 2.3rem;
  cursor: pointer;
  color: #665;
  line-height: 1;
  transition: color 0.2s ease;
}

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

#editForm {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.modal-form-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  min-height: 0;
}

.modal-form-body::-webkit-scrollbar {
  width: 6px;
}

.modal-form-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-form-body::-webkit-scrollbar-thumb {
  background: #6a11cb;
  border-radius: 3px;
}

.modal-form-body::-webkit-scrollbar-thumb:hover {
  background: #550ea1;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  resize: none;
}

#editNaslov {
  border-radius: 0.5rem;
}

#editOpis {
  border-radius: 0.5rem;
}

.image-preview {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-top: 0.5rem;
}

.delete-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.delete-modal.show {
  opacity: 1;
}

.delete-modal-content {
  background: white;
  padding: 0;
  border-radius: 1.5rem;
  width: 90%;
  max-width: 500px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.delete-modal.show .delete-modal-content {
  transform: scale(1);
}

.delete-modal-header {
  padding: 1.5rem;
  border-bottom: 2px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delete-modal-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc3545;
}

.delete-modal-header h3 i {
  font-size: 1.5rem;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #665;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.delete-modal-body {
  padding: 2rem 1.5rem;
}

.delete-warning {
  color: #dc3545;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.delete-modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-cancel {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-confirm-delete {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-cancel:hover {
  background: rgb(70, 76, 82);
}

.btn-confirm-delete:hover {
  background: rgb(179, 31, 45);
}

.btn-confirm-save {
  background: #6a11cb;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-confirm-save:hover {
  background: rgb(80, 12, 153);
}

.admin-action-btn {
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-action-btn.edit-btn {
  background: #6a11cb;
}

.admin-action-btn.edit-btn:hover {
  background: #550ea1;
}

.admin-action-btn.delete-btn {
  background: #dc3545;
}

.admin-action-btn.delete-btn:hover {
  background: #b41e2d;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid #e9ecef;
  background: white;
  flex-shrink: 0;
}

.news-thumbnail {
  padding: 0.5rem !important;
}

.news-thumbnail img {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

.timeline ul li {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline ul li.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline__cover {
  background: #f8f9fa;
  padding: 100px 0;
  color: #000;
}

.timeline__cover .timeline__title {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

.timeline__cover .timeline__title h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.timeline__cover .timeline__title p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  color: #000;
}

.timeline__cover .timeline {
  padding-top: 64px;
}

.timeline__cover .timeline ul {
  padding-top: 100px;
}

.timeline__cover .timeline ul li {
  background: #9a9a9a;
  position: relative;
  margin: 0 auto;
  width: 2px;
  margin-bottom: 48px;
  list-style-type: none;
}

.timeline__cover .timeline ul li:last-child {
  padding-bottom: 7px;
  width: 0;
  height: 0;
}

.timeline__cover .timeline ul li:before {
  content: '';
  background: #6a11cb;
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.timeline__cover .timeline ul li .hidden {
  opacity: 0;
}

.timeline__cover .timeline ul li .content {
  position: relative;
  top: -100px;
  width: 289px;
}

.timeline__cover .timeline ul li .content .badge {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  padding: 6px 12px;
  background: #6a11cb;
  border-radius: 1000px;
  font-weight: 600;
}

.timeline__cover .timeline ul li .content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #000;
  margin: 16px 0 8px;
}

.timeline__cover .timeline ul li .content p {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.timeline__cover .timeline ul li:nth-child(odd) .content {
  left: 70px;
}

.timeline__cover .timeline ul li:nth-child(odd) .content:before {
  left: -38px;
}

.timeline__cover .timeline ul li:nth-child(even) .content {
  left: calc(-289px - 70px);
}

.timeline__cover .timeline ul li:nth-child(even) .content:before {
  right: -38px;
}

@media screen and (max-width: 1020px) {
  .timeline__cover .timeline ul li .content {
    width: 41vw;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    left: calc(-41vw - 45px);
  }
}

@media screen and (max-width: 700px) {
  .timeline__cover {
    padding: 32px 0;
  }

  .timeline__cover .timeline__title {
    text-align: left;
    padding-left: 2rem;
  }

  .timeline__cover .timeline {
    padding-top: 32px;
  }

  .timeline__cover .timeline ul li {
    margin-left: 48px !important;
  }

  .timeline__cover .timeline__title h2 {
    font-size: 32px;
    line-height: 44px;
    letter-spacing: 0.08px;
  }

  .timeline__cover .timeline ul li {
    margin-left: 20px;
  }

  .timeline__cover .timeline ul li .content {
    width: calc(100vw - 100px);
    transition: .2s;
  }

  .timeline__cover .timeline ul li .content p {
    min-height: 110px;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    left: 38px;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content:before {
    left: -33px;
  }

  .timeline__cover .timeline ul li:nth-child(odd) .content {
    left: 38px;
  }

}

#scrollDownBtn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  z-index: 50;
}

#scrollDownBtn span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 50px;
  position: relative;
  box-sizing: border-box;
}

#scrollDownBtn span::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  animation: scrollAnimation 2s infinite;
  box-sizing: border-box;
}

@keyframes scrollAnimation {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 0;
  }
}

.mission-image {
  height: 100%;
  object-fit: cover;
}

.mission-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.about-onama {
  height: calc(100vh - 5.5rem);
  background: linear-gradient(to right, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.about-onama-tekst {
  padding: 0 2rem;
}

.about-onama-tekst h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-onama-tekst .lead {
  font-size: 1.5rem;
  opacity: 0.9;
}

.about-mission {
  padding: 6rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(106, 17, 203, 0.1);
  color: #6a11cb;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #6a11cb;
  margin-bottom: 0.5rem;
}

.about-team{
  width: 100%;
    margin: 0 auto;
    padding: 8rem 5.5rem;
    background: white;
  
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.team-member {
  text-align: center;
}

.member-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.awards-section .section-header h2 {
  font-size: 2.2rem;
  margin-top: 0.5rem;
}

.awards-section .section-header p {
  color: #666;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.awards-gallery {
  margin: 3rem auto;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.awards-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.awards-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.awards-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .awards-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .awards-section {
    padding: 4rem 1rem;
  }
}

.about-contact {
  padding: 8rem 0;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info-extra {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(106, 17, 203, 0.1);
}

.contact-info-extra p {
  margin-bottom: 0.5rem;
  color: #666;
}

.contact-map {
  flex: 1;
  min-height: 400px;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}



.team-member:hover {
  transform: translateY(-5px);
}

.team-member h3 {
  color: #333;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-member span {
  color: #6a11cb;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: #666;
  font-size: 0.9rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.animated-films-hero {
  padding: 4rem 2rem;
  text-align: center;
  color: rgb(0, 0, 0);
}

.hero-content {
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 1rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.3rem;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.animated-films-container {
  padding: 0.5rem 2rem 4rem;
  background: #f8f9fa;
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  border-radius: 2rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.film-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.film-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #666;
}

.film-meta .film-link {
  font-size: 0.9rem;
  color: #D4AF37;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.film-meta .film-link:hover {
  text-decoration: underline;
}

.film-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.film-modal.show {
  display: flex;
  opacity: 1;
  justify-content: center;
  align-items: center;
}

.film-modal .modal-content {
  background: white;
  border-radius: 1.5rem;
  width: 90%;
  max-width: 750px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.film-modal.show .modal-content {
  transform: scale(1);
}

.film-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-item i {
  font-size: 1.5rem;
  color: #6a11cb;
}

.detail-content {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1rem;
  color: #333;
}

.film-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.film-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #330;
  margin: 0;
}

.film-duration {
  font-size: 0.9rem;
  color: #667;
  background: #f0f2f5;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

.film-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.film-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.film-date i {
  color: #6a11cb;
}

#modalHeader {
  padding: 1rem;
  border-bottom: 3px solid #eee;
}



.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 3rem 5.5rem 2rem;
  color: #334;
  background-color: #fff;
  border-top: #545b613a 2px solid;
}

.footer > * {
  flex: 1 100%;
}

.footer__addr {
  margin-right: 1rem;
  margin-bottom: 0.7rem;
}

.footer__logo {
  height: 50px;
}

.footer__addr h2 {
  margin-top: 1em;
  font-size: 15px;
  font-weight: 600;
}

.footer address {
  font-style: normal;
  color: #666;
  margin: 1rem 0;
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -1rem;
}

.nav__item {
  flex: 1;
  padding: 0 1rem;
  min-width: 240px;
}

.nav__title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 1rem;
}

.nav__ul {
  list-style: none;
  padding: 0;
}

.nav__ul li {
  margin-bottom: 0.5rem;
}

.nav__ul a {
  color: #666;
  transition: color 0.3s ease;
}

.nav__ul a:hover {
  color: #6a11cb;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #666;
  margin-top: 3rem;
  width: 100%;
}

.legal__links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.footer-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6a11cb;
  transition: color 0.3s ease;
}

.footer-login:hover {
  color: #550ea1;
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }

  .nav__item--extra {
    flex-grow: 2;
  }

  .footer__addr {
    flex: 1 0px;
  }

  .footer__nav {
    flex: 2 0px;
  }
}



#sponzori {
  padding: 6rem 0rem;
}

#sponzori h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #333;
}

.sponzori-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.sponzor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.sponzor-item img {
  height: 100px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.sponzor-item:hover img {
  transform: scale(1.05);
}

.sponzor-item span {
  color: #666;
  font-size: 0.9rem;
}


.robotics-hero {
  height: calc(100vh - 5.5rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(to right, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9));
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.robotics-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.section-tag-hero {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #eee;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.robotics-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.robotics-hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.robotics-hero .cta-button {
  margin-top: 1.5rem;
}

#scrollDownBtnHero {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  z-index: 3;
}

#scrollDownBtnHero span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 50px;
  position: relative; box-sizing: border-box;
}

#scrollDownBtnHero span::before {
  content: ""; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 4px;
  background-color: rgba(255, 255, 255, 0.7); border-radius: 50%;
  animation: scrollAnimation 2s infinite; box-sizing: border-box;
}

@keyframes scrollAnimation {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 20px); }
  100% { opacity: 0; }
}

.robotics-about {
  padding: 6rem 0;
}

.robotics-about .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.robotics-about .about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.robotics-about .about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.robotics-about .about-content p:last-of-type {
  margin-bottom: 2rem;
}

.robotics-about .stats-grid {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.robotics-about .stat-item {
  text-align: left;
}

.robotics-about .stat-number.robotics-stat {
  font-size: 2.8rem;
  font-weight: 700;
  color: #6a11cb;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.robotics-about .stat-label {
  font-size: 0.9rem;
  color: #777;
}

.robotics-about .link-button {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #6a11cb; font-weight: 600; text-decoration: none;
  margin-top: 1rem; transition: color 0.3s ease;
}

.robotics-about .link-button:hover { color: #333; }

.robotics-about .link-button i { transition: transform 0.3s ease; }

.robotics-about .link-button:hover i { transform: translateY(2px); }

.robotics-about .about-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.robotics-activities {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.robotics-activities .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.robotics-activities .section-header p {
  margin-left: 0;
  max-width: none;
}

.robotics-activities .activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.activity-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(106, 17, 203, 0.1);
  border-color: rgba(106, 17, 203, 0.5);
}

.activity-icon-wrapper {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3);
  flex-shrink: 0;
}

.activity-card i {
  font-size: 2.5rem; color: white;
}

.activity-card h3 {
  font-size: 1.3rem; font-weight: 600; margin-bottom: 0.8rem; color: #333;
}

.activity-card p {
  font-size: 0.95rem; color: #666; line-height: 1.6; flex-grow: 1;
}

.robotics-achievements {
  padding: 6rem 0;
}

.robotics-achievements .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.robotics-achievements .section-header p {
  margin-left: 0;
  max-width: none;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: #f8f9fa;
  border-left: 5px solid #6a11cb;
  padding: 2rem;
  border-radius: 0.5rem;
  transition-duration: box-shadow 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.achievement-icon {
  font-size: 2rem;
  color: #6a11cb;
  margin-bottom: 1rem;
  display: inline-block;
}

.achievement-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334;
  margin-bottom: 0.5rem;
}

.achievement-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.achievement-year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(106, 17, 203, 0.1);
  color: #6a11cb;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.robotics-gallery {
  padding: 6rem 0;
}

.robotics-gallery .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.robotics-gallery .section-header p {
  margin-left: 0;
  max-width: none;
}

.gallery-grid-robotics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item-robotics {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.gallery-item-robotics:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item-robotics img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.gallery-item-robotics:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(106, 17, 203, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; transition: opacity 0.4s ease;
}

.gallery-overlay i {
  color: white;
  font-size: 2.5rem;
  transform: scale(0.7);
  transition: transform 0.4s ease, opacity 0.3s ease; opacity: 0;
}

.gallery-item-robotics:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-robotics:hover .gallery-overlay i {
  transform: scale(1);
  opacity: 1;
}

.robotics-contact {
  padding: 1rem 0 6rem 0;
}


.contact-cta-box {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: 1.5rem;
  text-align: left;
  box-shadow: 0 15px 35px rgba(106, 17, 203, 0.3);
}

.contact-cta-box h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-cta-box p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  opacity: 0.9;
  margin-left: 0;
  max-width: none;
  margin-bottom: 2.5rem; line-height: 1.7;
  max-width: 650px;
}

.contact-details-robotics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.contact-details-robotics .contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.contact-details-robotics .contact-item i {
  font-size: 1.3rem;
  flex-shrink: 0; }

.contact-details-robotics .contact-item a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-details-robotics .contact-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-details-robotics .contact-item span a {
  margin: 0 0.3rem;
}

.cta-button.secondary {
  background: white;
  color: #6a11cb;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: rgba(255,255,255,0.9); color: #5e0fb0;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: rgba(255,255,255,0.9);
}

@media (max-width: 992px) {
  .robotics-activities .activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .gallery-grid-robotics {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.film-hero {
  height: calc(100vh - 4.5rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  
  background-size: cover;
  overflow: hidden;
}

.film-about {
  padding: 6rem 0;
}

.film-about .about-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.modeling-about .about-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.film-about .about-content h2 {
  padding-bottom: 1rem;
}

.film-about .about-content {
  line-height: 1.5rem;
}

.modeling-about .about-content h2 {
  padding-bottom: 1rem;
}

.modeling-about .about-content {
  line-height: 1.5rem;
}

.film-categories {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.film-categories .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.film-categories .section-header p {
  margin-left: 0;
  max-width: none;
  font-size: 1.1rem;
  color: #666;
}

.film-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.category-card {
  display: block;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(106, 17, 203, 0.1);
  border-color: rgba(106, 17, 203, 0.5);
}

.category-icon-wrapper {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(45deg, #D4AF37, #b48c2d);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.category-card i {
  font-size: 2.2rem; color: white;
}

.category-card h3 {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.8rem; color: #333;
}

.category-card p {
  font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 1.5rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: #D4AF37;
  font-size: 0.9rem;
  margin-top: auto;
  transition: color 0.3s ease;
}

.category-card:hover .category-link {
  color: #333;
}

/* ==================== FIFES SECTIONS ==================== */

 #editIsFifes {
            appearance: none;
            -webkit-appearance: none;
            width: 1.4rem;
            height: 1.4rem;
            border: 3px solid #e9ecef;
            border-radius: 50%;
            outline: none;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            background-color: #f8f9fa;
            margin: 0;
            display: inline-block;
            vertical-align: middle;
        }

        #editIsFifes:checked {
            background-color: #6a11cb;
            border-color: #6a11cb;
        }
         #editIsFifes:checked::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 0.5rem;
            height: 0.5rem;
            background: white;
            border-radius: 50%;
        }

.fifes-about .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
  padding: 4rem 0rem;
}

.fifes-about .about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.fifes-about .about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.fifes-about .about-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fifes-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.fifes-stat {
  font-size: 2.8rem;
  font-weight: 700;
  color: #6a11cb;
  line-height: 1;
  margin-bottom: 0.25rem;
}


.fifes-about .stat-label {
  font-size: 0.9rem;
  color: #777;
}

.fifes-about .link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6a11cb;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.fifes-about .link-button:hover {
  color: #333;
}

.fifes-about .link-button i {
  transition: transform 0.3s ease;
}

.fifes-about .link-button:hover i {
  transform: translateY(2px);
}

/* FIFES Quote Section */
.fifes-quote-section {
  padding: 1rem 0 3rem;
  background: #6a11cb;
  color: white;
  text-align: center;
}

.fifes-quote-box {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.fifes-quote-icon {
  font-size: 4rem;
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

.fifes-quote-box blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.8;
  font-style: italic;
  font-weight: 500;
  margin: 0;
  padding: 0 1rem;
}
/* FIFES Participate Section */
.fifes-participate {
  padding: 4rem 0rem;
}

.fifes-participate .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.fifes-participate .section-header p {
  margin-left: 0;
  max-width: none;
  font-size: 1.1rem;
  color: #666;
}

.fifes-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.fifes-step-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  position: relative;
  border: 1px solid #eee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
  
}

.fifes-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px #6b11cb1a;
  border-color: #6a11cb;
}

.fifes-step-number {
  font-size: 3rem;
  font-weight: 800;
  color: #6a11cb;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.fifes-step-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.8rem;
}

.fifes-step-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* FIFES Mission Section */
.fifes-mission {
  padding: 4rem 0rem;

}

.fifes-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.fifes-mission .about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.fifes-mission .about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.fifes-mission .about-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==================== END FIFES ==================== */

.film-achievements {
  padding: 4rem 0;
  background-color: #ffffff;
}

.film-achievements .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.film-achievements .section-header p {
  margin-left: 0;
  max-width: none;
  font-size: 1.1rem;
  color: #666;
}

.film-achievements .achievement-card {
  border-left-color: #D4AF37;
}

.film-achievements .achievement-icon { color: #D4AF37; }

.film-achievements .achievement-year {
  background: rgba(212, 175, 55, 0.1); color: #b48c2d;
}

.film-gallery {
  padding: 6rem 0;
}

.film-gallery .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.film-gallery .section-header p {
  margin-left: 0;
  max-width: none;
  font-size: 1.1rem;
  color: #666;
}

.gallery-grid-film {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item-film {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.gallery-item-film:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item-film img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.gallery-item-film:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.film-contact {
  padding: 6rem 0 8rem 0;
  background: white;
}

.film-contact .contact-details-film {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; margin-bottom: 2.5rem;
}

.photo-showcase {

  padding: 6rem 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: translateY(-5px);
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-join {
  padding: 6rem 5.5rem;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
}

.join-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.join-content {
  padding-right: 2rem;
}

.join-content .section-tag {
  background: rgba(255,255,255,0.1);
  color: white;
}

.join-content h2 {
  color: white;
  margin: 1rem 0 2rem;
}

.join-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.join-content .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  display: block;
}

.join-content .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.join-image {
  position: relative;
}

.join-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.winners {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.winners span {
  background: rgba(106, 17, 203, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  color: #6a11cb;
}

.about-org-bodies {
        background: #f8f9fa;
        padding: 3rem 0 2rem 0;
    }
    .org-bodies-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
        align-items: stretch;
    }
    .org-card {
        background: #fff;
        border-radius: 1.5rem;
        box-shadow: 0 4px 24px rgba(80, 80, 120, 0.07);
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        min-width: 260px;
        max-width: 420px;
        flex: 1 1 260px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: box-shadow 0.2s;
    }
    .org-card:hover {
        box-shadow: 0 8px 32px rgba(80, 80, 120, 0.13);
    }
    .org-card h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
        color: #6a11cb;
        font-weight: 700;
        letter-spacing: 0.01em;
    }
    .org-card ul {
        list-style: disc inside;
        margin: 0 0 0.5rem 0;
        padding: 0 0 0 1rem;
        color: #333;
    }
    .org-card ul li {
        margin-bottom: 0.4rem;
        font-size: 1rem;
    }
    .org-contact {
        margin-top: 0.5rem;
        font-size: 1rem;
        color: #333;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }
    .org-contact a {
        color: #6a11cb;
        text-decoration: none;
        font-size: 0.98rem;
        word-break: break-all;
    }

.modeling-hero {
  height: calc(100vh - 4.5rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(to right, rgba(106, 17, 203, 0.9), rgba(106, 17, 203, 0.8));
}

.modeling-about, .modeling-process, .modeling-projects {
  position: relative;
  z-index: 1;
}


.modeling-about {
  padding: 6rem 0;

}

.modeling-process {
  padding: 6rem 0;
  
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  position: relative;
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border: 1px solid rgba(106, 17, 203, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: linear-gradient(to right, rgba(106, 17, 203, 0.9), rgba(106, 17, 203, 0.8));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.step-content {
  margin-top: 1rem;
  text-align: center;
}

.step-content i {
  font-size: 2.5rem;
  color: #6a11cb;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.step-content p {
  font-size: 0.9rem;
  color: #666;
}

.modeling-projects {
  padding: 6rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: #f8f9fa;
  border: 1px solid rgba(106, 17, 203, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.project-card:hover {
  border-color: #6a11cb;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(106, 17, 203, 0.1);
}

.project-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid currentColor;
}

.project-card:nth-child(1) .project-status {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.project-card:nth-child(2) .project-status {
  background: rgba(155, 89, 182, 0.1);
  color: #9b59b6;
}

.project-card:nth-child(3) .project-status {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.project-card h3 {
  font-size: 1.3rem;
  margin: 1rem 0;
  color: #333;
}

.project-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 0.9rem;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #6a11cb;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #550ea1;
  transform: translateY(-2px);
}
.mobitel-upravljaj{
  display: none;
}
@media (max-width: 995px) {
  .film-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .gallery-grid-film {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .vijest-content {
    grid-template-columns: 1fr;
  }

  .vijest-sidebar {
    position: relative;
    top: 0;
  }
}
@media (max-width: 768px) {
  .popup {
    top: 6rem;
    right: 1rem;
    left: 1rem;
    padding: 0.875rem 1.25rem;
  }
  .vijest-meta{
        padding: 4rem 1rem 1.5rem;
  }
  .vijest-text{
    padding: 1rem;
  }
  .vijest-meta h1 {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
  
  }

  .vijest-image-container {
    height: 15rem;
  }
  .vijest-header {
     margin-bottom: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    margin-top: 2rem;
  }

    .about-hero__content h1 {
    font-size: 3rem;
  }

  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .animated-films-container {
    padding: 2rem 1rem;
  }

  .films-grid {
    grid-template-columns: 1fr;
  }

  .film-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-contact iframe {
    width: 100%;
    height: 400px;
  }

  .about-onama {
    height: 110vh;
  }

  .about-onama-tekst h1 {
    font-size: 3rem;
  }

  .robotics-hero {
    height: 95vh;
  }

  .robotics-about .about-content h2 {
    font-size: 2rem !important;
    margin: 0;
    padding: 1rem 0rem;
    text-align: left;
  }

  .robotics-about .about-content p {
    font-size: 1rem;
    text-align: left;
  }

  .robotics-about .about-content .section-tag {
    text-align: left;
  }

  .robotics-about .about-image {
    margin: 0;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-number.robotics-stat {
    font-size: 2rem !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
  }

  #photo-history .timeline__title {
    padding-left: 2rem;
    padding-right: 2rem;
  }
    #sekcije {
    flex-direction: column;
    min-height: unset;
  }


  #unutarsekcije{
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  #unutarsekcije img{
    
    height: 60% !important;
    padding-right: 1rem ;
  }
  #sekcija-fotografija img{
    height: 50% !important;
   
  }
  #unutarsekcije h3{
    font-size: 1.5rem ;
    left: 1rem;
 
    text-align: left;
  }
  #unutarsekcije a{
     font-size: 1rem ;
    left: 1rem;
 
    text-align: left;
  }
  .join-grid {
    grid-template-columns: 1fr;
  }

  .join-content {
    padding-right: 0;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
.fifes-about .link-button{
  display: none;
}

  .fifes-about .about-grid,
  .fifes-mission-grid {
    grid-template-columns: 1fr;
  }

  .fifes-about .about-image {
    margin-bottom: 2rem;
  }

  .fifes-mission .about-image {
    margin-bottom: 2rem;
  }

  .fifes-about .about-content h2 {
    font-size: 2rem;
  }

  .fifes-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .fifes-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fifes-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .fifes-quote-section {
    padding: 3.5rem 0;
  }

  .fifes-quote-box blockquote {
    font-size: 1.1rem;
  }

  .film-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .gallery-grid-film {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .film-contact .contact-details-film {
    align-items: flex-start;
    padding-left: 1rem;
    text-align: left;
  }
  .robotics-hero {
    height: 85vh; }

  .robotics-about, .robotics-activities, .robotics-achievements, .robotics-gallery, .robotics-contact {
    padding: 4rem 0;
  }

.robotics-about .link-button {
  display: none;}
  .robotics-about .about-grid {
    grid-template-columns: 1fr; }

  .robotics-about .about-image {
    margin-bottom: 2rem;
  }

  .robotics-about .stats-grid {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
  }

  .robotics-activities .activities-grid, .achievements-grid {
    grid-template-columns: 1fr; }

  .gallery-grid-robotics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-cta-box {
    padding: 2.5rem 1.5rem;
  }

  .contact-details-robotics {
    align-items: flex-start;
    padding-left: 1rem;
    text-align: left; }
    
     #sponzori {
    padding: 2rem 0rem;
  }

  .sponzori-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
    .legal {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer {
    padding: 2rem;
  }

  .legal__links {
    margin: 0 auto;
  }

  .nav__title {
    margin-top: 1rem;
    margin-bottom: 0.4rem;
  }
   .privacy-hero {
    padding: 3rem 0 1.5rem 0;
  }

  .privacy-main
  {
    padding: 2rem 0 3rem 0;
  }

  .privacy-card {
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 480px) {
  .film-categories-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-film {
    grid-template-columns: 1fr;
  }
  .robotics-about .stats-grid {
    gap: 1.5rem;
  }

  /* FIFES Responsive 480px */
  .fifes-values-grid {
    grid-template-columns: 1fr;
  }

  .fifes-stats-grid {
    gap: 1.5rem;
    text-align: center;
  }

  .fifes-about .stat-item {
    text-align: center;
  }

  .fifes-stat {
    font-size: 2rem;
  }

  .gallery-grid-robotics {
    grid-template-columns: 1fr; }

  .contact-details-robotics .contact-item span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .contact-details-robotics .contact-item span a {
    margin: 0;
  }
  .vijest-container{
    padding: 0 1rem;
  }
  .vijest-meta h1 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    
  }
}

@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 4.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0;
  }

  .nav__list {
    background-color: hsl(220, 24%, 12%);
    padding-top: 1rem;
  }

  .nav__logo img {
    height: 100%;
    padding: 0.5rem;
  }

  #uclanise {
    top: auto;
    transform: none;
    margin: 0;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #uclaniseti {
    color: whitesmoke;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    width: 100%;
    padding: 0.625rem 0;
    margin: 0;
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
  }

  main {
    flex-direction: column;
    height: 50vh;
    margin-bottom: 2rem;
  }

  #lijevo {
    width: 100%;
    margin: 0;
    padding: 4rem;
    height: 50vh;
  }
  .kontenjerffval{
    padding: 0rem 4rem;
}
.photo-join {
  padding: 4rem;}

.about-team {
    padding: 4rem;
}
.nav__logo img {
  margin-left: 0rem;
}

  #desno {
    display: none;
  }
  #najnovije-vijesti .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  #unutarsekcije {

  grid-template-rows: repeat(4, 18rem);

}

  #sekcija-robotika {
    grid-column: 1 / 3;
  }
  
  #sekcija-fotografija {
    grid-column: 1 / 3;
  }
  
  #sekcija-fotografija img {
    height: 60%;
    transform: rotate(-15deg);
    margin-left: 3rem;
  }
  
  #sekcija-film {
    grid-column: 1 / 3;
  }
  
  #sekcija-film img {
    height: 80%;
  }
  
  #sekcija-modelarstvo {
    grid-column: 1 / 3;
  }
  #sekcija-uclanise {
    padding: 2rem;
  }
   #sekcija-uclanise h4{
    font-size: 1.5rem;
   
   }
   #gumbsekcijeuclanise{
     font-size: 0.8rem;
   
   }
   #opisseksicje h2{
       text-align: left;
   }
   #opisseksicje p {
    text-align: left;
   }
   #gumboviuheaderu{
    text-align: left;
   }
}

@media screen and (max-width: 900px) {
  .admin-container{
    display: none;
  }
  .mobitel-upravljaj{
    display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        text-align: center;
        padding: 20px;
  }
  .news-page-hero {
    padding: 5rem 1.5rem 1.5rem;
  }

  .news-page-hero h1 {
    font-size: 2.6rem;
  }

  .news-page-hero p,
  .all-news-meta {
    font-size: 0.95rem;
  }

  .all-news-section {
    padding: 1.5rem;
  }

  .all-news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .all-news-section .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
   .org-bodies-grid {
            flex-direction: column;
            gap: 1.5rem;
        }
        .org-card {
            max-width: 100%;
        }
}

@media screen and (max-width: 640px) {
  .all-news-section .news-grid {
    grid-template-columns: 1fr;
  }
   #lijevo {
    padding: 2rem;

  }
  .kontenjerffval{
    padding: 0rem 2rem;
}
.photo-join {
  padding: 4rem 2rem;}
.about-team {
    padding: 4rem 2rem;
}
.nav {padding: 0rem;
}
}
@media screen and (max-width: 1600px) {
      .admin-container {
  width: 90%;
  padding: 0.7rem;
}
  #sekcije {
    flex-direction: column;
    min-height: unset;
  }
  #najnovije-vijesti .news-image {
  height: 16rem;
}
  .latest-news-content {
  padding: 1rem;
}
  .latest-news-content h3{
    font-size: 1.5rem;
  }
  .latest-news-content p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.latest-news-content a {
  font-size: 0.8rem;
}
  #opisseksicje {
    width: 100%;
    margin-top: 0;
    padding: 1.5rem 0rem;
    text-align: center;
  }
  #unutarsekcije{
    width: 100%;
    margin-top: 0;
    padding: 1.5rem 0rem;
    text-align: center;
  }
}

.nav__link {
  color: #fff;
  background-color: hsl(220, 24%, 12%);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition-duration: 0.4s;
}

.nav__link:hover {
  color: rgb(196, 196, 196);
}

.show-menu {
  opacity: 1;
  top: 4.5rem;
  pointer-events: initial;
}

.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: #fff;
  background-color: hsl(220, 24%, 15%);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: 600;
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: hsl(220, 24%, 12%);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: hsl(220, 20%, 18%);
}

@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(3.5rem + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}

.privacy-hero {
  background: linear-gradient(120deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  padding: 6rem 0 3rem 0;
  text-align: center;
  position: relative;
}

.privacy-hero-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  opacity: 0.85;
}

.privacy-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.privacy-hero .lead {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 0;
}

.privacy-main {
  background: #f8f9fa;
  padding: 4rem 0 6rem 0;
}

.privacy-main .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.privacy-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 18px rgba(106, 17, 203, 0.07);
  padding: 2rem 2rem 1.5rem 2rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}

.privacy-card:hover {
  box-shadow: 0 8px 32px rgba(106, 17, 203, 0.13);
}

.privacy-card h2 {
  color: #6a11cb;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.privacy-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.privacy-card li {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.privacy-card a {
  color: #6a11cb;
  word-break: break-all;
}

.privacy-card a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 360px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
   #lijevo {
    padding: 1rem;
  }
  .kontenjerffval{
    padding: 1rem;
}
.photo-join {
  padding: 1rem;}
.about-team {
    padding: 1rem;
}
}