/* Definišemo promenljive boja */
:root {
  --primary-color: #01257D;    /* Dynamic orange-red for energy and excitement */
  --secondary-color: #00FFFF;  /* Deep blue for trust and professionalism */
  --accent-color: #00FFFF;     /* Bright yellow for attention and safety (like road signs) */
  --text-color: #FFFFFF;       /* Dark gray for readability */
  --card-bg: #02274C;          /* Soft light gray for a clean look */
}

/* Globalni stilovi */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: url('../../stuff/cursor/cur116.cur'), auto;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  /* Pozadinski gradijent */
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--text-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  /*font-weight: 700; /* Make headers bold */
}

.container {
  width: 90%;
  margin: 0 auto;
}

/* Animacije */
.animate {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}

.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Fiksni Header & Navigacija */
.header {
  /*background: var(--primary-color);*/
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 0 15px #00FFFF; /* Glowing effect */

  background: rgba(1, 37, 125, 0.9); /* Slight transparency for better UX */
  backdrop-filter: blur(10px); /* Adds a smooth glass effect */
  transition: background 0.3s ease-in-out;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-color);
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #0088AA; /* Slightly darker cyan on hover */
}

/* Dodajemo margin-top ispod fiksnog headera */
.hero {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background-color: transparent;
}

.hero-content {
  max-width: 50%;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}
/*
.cta-button {
  padding: 10px 30px;
  background-color: var(--accent-color);
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #8ecb27;
}*/

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Sekcije */
.section {
  padding: 60px 20px;
  background-color: transparent;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
}

/* Kartice, usluge i program */
.cards,
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card,
.service-card,
.program-card {
  background: var(--card-bg);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  text-align: center;
}

.card img,
.service-card img,
.program-img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card h3,
.service-card h3,
.program-card h3 {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 10px;
}

.card p,
.service-card p,
.program-card p,
.program-card ul {
  font-size: 16px;
  color: var(--text-color);
}

/* Cenovnik */
/*
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.pricing-option {
  background: var(--card-bg);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  text-align: center;
}

.pricing-option h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.pricing-option p {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.pricing-option ul {
  list-style: none;
  padding: 0;
}

.pricing-option ul li {
  margin: 5px 0;
}*/

/* Put do vozačke dozvole */
.road ol {
  margin: 20px 0;
  padding-left: 20px;
  font-size: 16px;
}

/* Testimonials */
.testimonials {
  padding: 4rem 2rem;
  text-align: center;
}

.testimonial-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*
.testimonial {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1rem;
  width: 80%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}*/

.testimonial p {
  font-style: italic;
}

/* Kontakt */
.contact .contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 20px;
}

.contact .map {
  flex: 1 1 600px;
}

.contact .contact-info {
  flex: 1 1 300px;
  font-size: 18px;
}

.contact .contact-info a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 3;
}

/* Scroll to Top Dugme */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 10px 15px;
  font-size: 16px;
  background-color: var(--primary-color);
  box-shadow: 0px 0px 10px var(--accent-color);
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  z-index: 60;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}


.ham {
  width: 50px; /* Adjust width as needed */
  height: 50px;
  cursor: pointer;
  position: fixed;
  top: 5px;
  left: 5px;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  user-select: none;
  z-index: 1300; /* Higher than .mobile-menu */
}


/* All lines common styles */
.ham2 .line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #00FFFF;
  stroke-width: 5.5;
  stroke-linecap: round;
}

/* Set up initial dash arrays for top and bottom lines */
.ham2 .top {
  stroke-dasharray: 40 121;
}
.ham2 .bottom {
  stroke-dasharray: 40 121;
}

/* When active, animate the top and bottom lines */
.ham2.active .top {
  stroke-dashoffset: -102px;
}
.ham2.active .bottom {
  stroke-dashoffset: -102px;
}

/* (Optional) Rotation classes if you wish to combine with a rotation effect */
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}


/* --- Mobile Menu Container --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80%;
  max-width: 300px;
  background: linear-gradient(135deg, #01257D, #0045A5, #0088CC, #00A5C9, #00FFFF); 
  background-size: 300% 300%;
  animation: gradientAnimation 6s ease infinite;
  /*background: var(--primary-color); /* Adjust as needed */
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  padding: 2rem;
  display: none; /* Hidden by default */
  padding-top: 55px;
  border: 2px solid rgba(0, 255, 255, 0.6); /* Subtle cyan glow */
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3); /* Adds outer neon glow */
}

/* Smooth animated gradient */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.mobile-menu-header .logo-img {
  height: 40px;
  margin-right: 10px;
}
.mobile-menu-header span {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-color);
}

/* Mobile Navigation Links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-links li {
  margin: 15px 0;
}
.mobile-nav-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease-in-out;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Adds a subtle separator */
  padding: 10px 0;
}
.mobile-nav-links li:last-child a {
  border-bottom: none; /* Remove separator from the last item */
}
.mobile-nav-links li {
  margin-bottom: 10px; /* Adds extra spacing between items */
}

.mobile-nav-links a:hover {
  color: #0088AA;
}















/* Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Semi-transparent overlay using primary color */
  background-color: rgba(1, 37, 125, 0.6);
  z-index: 2;
}

/*.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1.5s ease;
}*/
.hero-content {
  position: absolute;
  z-index: 3;
  max-width: 900px;
  padding: 30px;
  text-align: center;
  color: var(--text-color);
  animation: fadeInUp 1.5s ease;
}

/*
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}*/
.hero-content h1 {
  font-size: 4.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 25px;
  background: linear-gradient(90deg, 
              #ff00ff, var(--secondary-color), var(--accent-color), #ff00ff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: movingGradient 5s infinite linear;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}
@keyframes movingGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*
.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}*/
.hero-content p {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 45px;
  color: var(--text-color);
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
  animation-delay: 1s;
}

/*
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--accent-color);
}*/
.cta-button {
  display: inline-block;
  padding: 18px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px var(--secondary-color);
}

.cta-button:hover {
  background: var(--accent-color);
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--accent-color);
}


/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .cta-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
}
















/* About Section Base */
#o-nama {
  z-index: 3;
}

.about-section {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 60px 20px;
  text-align: center;

  position: relative;
}




.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px; /* Thickness of the glowing border */
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  filter: blur(4px); /* Soft glow effect */
}

.about-section::before {
  top: 0;  /* Positioning for the top border */
}

.about-section::after {
  bottom: 0;  /* Positioning for the bottom border */
}




.container3 {
  max-width: 1100px;
  margin: 0 auto;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary-color);  /* Title in cyan */
}

.about-description {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

/* Cards Layout */
.about-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* About Cards */
.about-card {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  padding-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

/* Staggered animation delays */
.about-card:nth-child(1) { animation-delay: 0.3s; }
.about-card:nth-child(2) { animation-delay: 0.6s; }
.about-card:nth-child(3) { animation-delay: 0.9s; }

/* Animated Gradient Border */
.about-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--secondary-color), transparent);
  z-index: -1;
  filter: blur(4px);
  opacity: 0.8;
  animation: borderAnimation 60s linear infinite;
}

@keyframes borderAnimation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hover Effects */
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.about-card:hover img {
  transform: scale(1.05);
}

/* Card Image */
.about-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

/* Card Text */
.about-card h3 {
  font-size: 1.4rem;
  margin: 15px 10px 8px;
  color: var(--secondary-color);  /* Title text in cyan */
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 10px;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-box {
    flex-direction: column;
    align-items: center;
  }
}






















/* Services Section Base */
.services-section {
  background-color: var(--primary-color);
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.container4 {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* Flip Cards Layout */
.flip-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Flip Card Structure */
.flip-card {
  background: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

/* Staggered delays with alternating directions */
.flip-card:nth-child(odd) {
  animation-delay: 0.3s;
}
.flip-card:nth-child(even) {
  animation-delay: 0.6s;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back Faces */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.flip-card-front {
  background-color: var(--card-bg);
  color: var(--text-color);
}

.flip-card-front img {
  width: 100%;
  height: 65%;
  object-fit: cover;
  display: block;
}

.flip-card-front h3 {
  margin: 10px 0;
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.flip-card-back {
  background-color: var(--card-bg);
  color: var(--text-color);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 1rem;
  line-height: 1.4;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .flip-cards {
    flex-direction: column;
    align-items: center;
  }
}







/* Programs Section Base */
/*.programs-section {
  background-color: var(--primary-color);
  text-align: center;
  position: relative;
}

.container5 {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.programs-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

/* Program Card Layout */
/*.program-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: stretch;
  position: relative;
  transition: transform 0.3s ease;
  opacity: 0;
  animation: slideIn 1s forwards;
  animation-delay: 0.5s;
  margin: 0 auto;
}

.program-card:hover {
  transform: translateY(-8px);
}

/* Animated gradient border on hover */
/*.program-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid var(--secondary-color);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.program-card:hover::before {
  opacity: 1;
}

/* Program Image */
/*.program-image {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.program-image img.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-image img.program-img {
  transform: scale(1.05);
}

/* Program Details */
/*.program-details {
  flex: 1;
  padding: 20px;
  text-align: left;
}
.program-details h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}
.program-details p {
  font-size: 1rem;
  margin-bottom: 15px;
}
.program-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.program-details ul li {
  font-size: 0.95rem;
  margin: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.3);
  padding-bottom: 5px;
}
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: var(--card-bg);
}

/* Slide-In Animation */
/*@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Adjustments */
/*@media (max-width: 768px) {
  .program-card {
    flex-direction: column;
  }
  .program-details {
    text-align: center;
  }
}



.programs-section::before,
.programs-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px; /* Thickness of the glowing border */
  /*background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  filter: blur(4px); /* Soft glow effect */
/*}

.about-section::before {
  top: 0;  /* Positioning for the top border */
/*}

.about-section::after {
  bottom: 0;  /* Positioning for the bottom border */
/*}



#programi{
  z-index: 3;
}*/










/* Team Section */
.container6 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: var(--primary-color);
  text-align: center;

  border: 4px solid #00FFFF; /* Border color */
  border-radius: 20px; /* Rounded edges */
  box-shadow: 0 0 15px #00FFFF; /* Glowing effect */
  padding: 20px; /* Optional: Add padding inside the box */
}
.team h2 {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.team-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: scale(0.8);
  opacity: 0;
  animation: popIn 0.8s forwards;
}
.team-card:nth-child(1) { animation-delay: 0.3s; }
.team-card:nth-child(2) { animation-delay: 0.5s; }
.team-card:nth-child(3) { animation-delay: 0.7s; }
.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.team-card:hover img {
  transform: scale(1.05);
}
.team-card h3 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin: 10px 0 5px;
  padding: 0 10px;
}
.team-card p {
  font-size: 1rem;
  padding: 0 10px 15px;
  color: var(--text-color);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}


/* Roadmap Section */
.container7 {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: var(--primary-color);
  text-align: center;

  border: 4px solid #00FFFF; /* Border color */
  border-radius: 20px; /* Rounded edges */
  box-shadow: 0 0 15px #00FFFF; /* Glowing effect */
  padding: 20px; /* Optional: Add padding inside the box */
}
.roadmap h2 {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
.roadmap p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 700px;
  text-align: left;
  position: relative;
}
.roadmap-list::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--secondary-color);
  opacity: 0.5;
}
.roadmap-item {
  position: relative;
  padding: 10px 20px 10px 50px;
  margin-bottom: 20px;
  background-color: var(--card-bg);
  border-radius: 5px;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s forwards;
}
.roadmap-item:nth-child(1) { animation-delay: 0.3s; }
.roadmap-item:nth-child(2) { animation-delay: 0.5s; }
.roadmap-item:nth-child(3) { animation-delay: 0.7s; }
.roadmap-item:nth-child(4) { animation-delay: 0.9s; }
.roadmap-item:nth-child(5) { animation-delay: 1.1s; }
.roadmap-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary-color);
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}







/* Testimonials Section */
.container8 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: var(--primary-color);
  text-align: center;
  
  border: 4px solid #00FFFF; /* Border color */
  border-radius: 20px; /* Rounded edges */
  box-shadow: 0 0 15px #00FFFF; /* Glowing effect */
  padding: 20px; /* Optional: Add padding inside the box */
}
.testimonials h2 {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}
.testimonial-slider {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.testimonial {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  padding: 0 20px;
  box-sizing: border-box;
}
.testimonial p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-color);
}
.testimonial .author {
  font-size: 1rem;
  margin-top: 10px;
  color: var(--secondary-color);
}
.testimonial.active {
  opacity: 1;
}








/* Global Floating Container Effect for Sections *//*
.floating-container6,
.floating-container7,
.floating-container8 {
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  
}*/
.floating-container6,
.floating-container7,
.floating-container8 {
  position: relative;
  /* Glass effect */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Border styling */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 20px; /* Optional: space inside the container */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 40px auto; /* Separation from other elements */
}




/* Pulsing Wave Effect – same for all floating containers */
.floating-container6::before,
.floating-container7::before,
.floating-container8::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,255,255,0.3) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  border-radius: 50%;
  animation: pulseWave 4s ease-in-out infinite;
}

/* Floating Animation: makes the whole container gently rise and fall */
.floating-container6,
.floating-container7,
.floating-container8 {
  animation: float 3s ease-in-out infinite;
}

/* Keyframes for the pulsing wave */
@keyframes pulseWave {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
}

/* Keyframes for floating effect */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}




.floating-container6:hover,
.floating-container7:hover,
.floating-container8:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}


/*.floating-container8::before  ,*/

.floating-container6::before,
.floating-container7::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--secondary-color), transparent);
  z-index: -1;
  opacity: 0.8;
  animation: borderPulse 10s linear infinite;
}

@keyframes borderPulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}






.header .logo span,
.mobile-menu-header span,
.navbar p {
  color: #00FFFF;
}


.phone-number {
  color: #00FFFF;
  text-decoration: none;
  font-weight: bold; /* Optional, for better visibility */
}





/* Desktop Dropdown */
.nav-links li.dropdown {
  position: relative;
}
.nav-links li.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #01257D;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 100;
}
.nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  display: block;
  padding: 10px;
  text-decoration: none;
}
.dropdown-menu li a:hover {
  background: #02274C;
}

/* Mobile Dropdown */
.mobile-nav-links li.dropdown-mobile {
  position: relative;
}
.mobile-nav-links li.dropdown-mobile .mobile-dropdown-menu {
  display: none;
  list-style: none;
  padding-left: 20px;
  margin: 0;
}
.mobile-nav-links li.dropdown-mobile.active .mobile-dropdown-menu {
  display: block;
}




/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* new broken Dropdown link */
.dropdown a {
  display: block;
  border-radius: 5px;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #01257D;
  box-shadow: 0px 5px 15px rgba(0, 255, 255, 0.4); /* Cyan glow effect */
  border-radius: 8px;
  border: 2px solid #00FFFF; /* Cyan border */
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  box-shadow: 0px 8px 20px rgba(0, 255, 255, 0.6); /* Stronger glow effect */
}

/* Dropdown menu items */
.dropdown-menu li {
  list-style: none;
  border-bottom: 1px solid #00FFFF;
}

/* Remove last border */
.dropdown-menu li:last-child {
  border-bottom: none;
}

/* Dropdown links */
.dropdown-menu a {
  color: #00FFFF;
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effect on dropdown links */
.dropdown-menu a:hover {
  background-color: #007bff;
  color: #fff;
  border-radius: 3px;
}



/* Style for the dropdown arrow */
.dropdown-arrow {
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is active (for mobile) */
.dropdown-mobile.active .dropdown-arrow {
  transform: rotate(180deg);
}







/* Usluge Section Styling */
#usluge-section {
  position: relative;
  z-index: 3;
}

.usluge-section {
  padding: 60px 20px;
  background-color: var(--primary-color);
  text-align: center;
}

.usluge-section-title {
  /*font-size: 2.5em;
  margin-bottom: 40px;*/
  animation: usluge-slideIn 1s ease-out;
}

/* Grid Container for Cards */
.usluge-content-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

/* Card Link */
.usluge-card-link {
  text-decoration: none;
}

/* Usluge Card Styling */
.usluge-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: usluge-fadeInUp 1s ease;
}

.usluge-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.usluge-card h3 {
  margin: 15px 0;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 10px;
  font-size: 1.5em;
  color: var(--secondary-color);
}

.usluge-card p {
  font-size: 1em;
  color:#FFFFFF;
}

/* Card Image */
.usluge-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Unique Animations */
@keyframes usluge-fadeInUp {
  from { opacity: 0; transform: translateY(20px) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes usluge-slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}


.usluge-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px; /* Thickness of the glowing border */
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  filter: blur(4px); /* Soft glow effect */
  bottom: 0;  /* Positioning for the bottom border */
}


.phone-container {
  display: flex;
  gap: 10px; /* Adjust spacing between numbers */
  align-items: center;
}

.separator {
  color: #00FFFF; /* Cyan color */
  font-weight: bold; /* Optional: make it stand out */
}


.logo {
  text-decoration: none;
  color: inherit;
}



/* Apply the custom cursor on all anchor links in the navigation */
.nav-links li a,
.mobile-nav-links li a {
  cursor: url('../../stuff/cursor/finger.cur'), pointer;
}

.phone-number {
  cursor: url('../../stuff/cursor/finger.cur'), pointer;
}




/* ====== GLOBAL RESPONSIVE STYLES ====== */

@media (max-width: 1350px) {
  .nav-links li a[href="../templates/galerija.html"] {
    display: none;
  }

}

@media (max-width: 1250px) {
  .nav-links li a[href="#o-nama"],
  .nav-links li a[href="../templates/galerija.html"] {
    display: none;
  }

}

@media (max-width: 1200px) {
  .nav-links li a[href="#o-nama"],
  .nav-links li a[href="../templates/galerija.html"] {
    display: none;
  }
  .phone-container{
    display: none;
  }

}





/* Hide mobile menu and hamburger on larger screens */
@media (min-width: 1025px) {
  .menu-toggle,
  .mobile-menu,
  .ham { /* Hide the button too */
    display: none;
  }
  .logo-text2 {
    display: none;
  }
}


/* For screens up to 1024px */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }
  /* Hide desktop navigation if it exists */
  .nav-links {
    display: none;
  }
  .phone-container{
    display: none;
  }
  .logo2{
    /*display: none;*/
    height: 40px; /* Adjust as needed */
    width: auto; /* Keeps aspect ratio */
  }
  .logo-text {
    display: none;
  }

  .mobile-menu {
    display: block;
  }


  /* Navigation adjustments */
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-color);
    position: absolute;
    top: 70px; /* below fixed header */
    left: 0;
    padding: 15px 0;
    z-index: 1100;
  }
  .nav-links.active {
    display: flex;
  }
  /* Hero section */
  .hero {
    flex-direction: column;
    text-align: center;
    margin-top: 60px;
  }
  .hero-content, 
  .hero-image {
    max-width: 100%;
    margin: 10px 0;
  }
  /* Card grids (About, Services, Pricing, etc.) */
  .cards,
  .service-cards,
  .pricing-table {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  /* Contact details stacking */
  .contact .contact-details {
    flex-direction: column;
    align-items: center;
  }
  /* Logo and header typography */
  .logo span {
    font-size: 24px;
  }
}

/* For screens up to 768px */
@media (max-width: 768px) {
  .mobile-menu-header span {
    font-size: 20px;
  }
  .mobile-nav-links a {
    font-size: 16px;
  }
  /* Logo and header typography */
  .logo span {
    font-size: 24px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .hero-content p {
    font-size: 16px;
  }

  /* Single-column grids for cards */
  .cards,
  .service-cards,
  .pricing-table {
    grid-template-columns: 1fr;
  }
  /* Navigation link spacing */
  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }
  /* Adjust any padding/margin in sections if needed */
  .section {
    padding: 40px 15px;
  }
}

/* For screens up to 480px */
@media (max-width: 480px) {
  .mobile-menu {
    width: 90%;
    max-width: 250px;
    padding: 1.5rem;
    padding-top: 55px;
  }
  .mobile-nav-links a {
    font-size: 15px;
  }

  .logo span {
    font-size: 20px;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 14px;
  }
  
  /* Ensure navbar stacks vertically */
  .navbar {
    flex-direction: column;
  }
  .nav-links {
    width: 100%;
  }
  /* Single column layout for grids */
  .cards,
  .service-cards,
  .pricing-table {
    grid-template-columns: 1fr;
  }
  /* Stack contact details vertically */
  .contact .contact-details {
    flex-direction: column;
    align-items: center;
  }
}