@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');




body {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #dfe9f3, #f7faff);
  background-attachment: fixed;
  color: #1e1e1e;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.03);
}

.text-box,
.form,
.reviews,
.services,
.why-item {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #fff;
}

header {
  background: rgba(0, 34, 68, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* Logo + 3D */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  height: auto;
  line-height: 1;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 1rem;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #ffd500;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

nav a:hover::after {
  transform: scaleX(1);
}

nav a:hover {
  color: #ffd500;
  transform: translateY(-2px);
}


/* Dizajn unutar body*/

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 0;
  margin-bottom: 60px;
}

.service-box {
  width: 300px;
  height: 380px; /* fiksna visina */
  padding: 20px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.service-box.active {
  height: 500px; /* Visina kad se otvori */
}

.more-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-box.active .more-text {
  max-height: 180px;
  opacity: 1;
  overflow-y: scroll;
  margin-top: 10px;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  height: 180px;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-top: 40px;
  color: #002244;
}

.service-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #002244;
}

.service-box .short-text {
  font-size: 16px;
  color: #333;
}

.more-text {
  display: none;
  margin-top: 15px;
  font-size: 15px;
  color: #444;
}

.service-box.active .more-text {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.more-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.service-box.active .more-text {
  max-height: 180px;           /* prostor za tekst */
  opacity: 1;
  overflow-y: scroll;          /* omogućava scroll */
  margin-top: 10px;
  padding-right: 5px;
  scrollbar-width: none;       /* Firefox */
}

/* Sakrij scrollbar za Chrome, Edge, Safari */
.service-box.active .more-text::-webkit-scrollbar {
  display: none;
}

.toggle-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #0050b3, #007bff);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #003d80, #0066cc);
}

.benefits {
  padding: 60px 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.benefits h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1f1f1f;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-item {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.benefit-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.benefit-item p {
  color: #666;
  font-size: 0.95rem;
}

.testimonial-slider {
  padding: 60px 20px;
  text-align: center;
  background-color: #f4f4f4;
}

.testimonial-slider h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #002244;
}

.slider-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 150px;
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.slide.active {
  display: block;
  opacity: 1;
}

.slide p {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
}

.slide span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #777;
}

.slider-buttons {
  margin-top: 20px;
}

.slider-buttons button {
  background: #002244;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  margin: 0 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-buttons button:hover {
  background: #004080;
}
.avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin: 10px auto 5px;
  display: block;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/*whatsapp */

.cta-section {
  background: linear-gradient(135deg, #002244, #004080);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #cce0ff;
}

.cta-button {
  display: inline-block;
  background-color: #ffd500;
  color: #002244;
  padding: 14px 28px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #ffea00;
}


/*Blog */

.blog-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f4f4f4;
}

.blog-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.blog-card {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 68%;
  height: 180px;
  object-fit: cover;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin: 16px;
  color: #333;
}

.blog-card p {
  font-size: 0.95rem;
  margin: 0 16px 16px;
  color: #666;
}

.read-more {
  display: inline-block;
  margin: 0 0 20px;
  padding: 10px 20px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.read-more:hover {
  background-color: #444;
}



/* Footer dizajn*/

footer {
  background: #002244;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.footer-left {
  display: flex;
  gap: 20px;
}

.footer-left a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-left a:hover {
  text-decoration: underline;
}

footer p {
  flex: 1;
  text-align: center;
  font-size: 14px;
  margin: 10px 0;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* bijele ikone */
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/*footer mobile */
@media (max-width: 768px) {
  footer {
    gap: 20px;
    padding: 20px 20px;
  }

  .footer-left {
    gap: 20px;
    flex-wrap: wrap;
  }

  .social-icons {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer p {
    margin-top: 10px;
  }
}


/* Mobilni meni dugme */
.mobile-menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

/* Sidebar meni */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: -100%;
  width: 80%;
  max-width: 280px;
  height: 35%;
  background: #002244;
  color: #fff;
  padding: 40px 20px;
  transition: right 0.3s ease;
  z-index: 999;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  transition: right 0.3s ease, border-radius 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontalno centriranje */
  justify-content: center; /* vertikalno centriranje ako želiš */
  text-align: center; /* centriraj tekst */
}

.mobile-menu.open {
  display: block;
  right: 0;
}

.mobile-menu .close-btn {
  font-size: 30px;
  position: absolute;
  top: 4px;
  right: 15px;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 60px;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.mobile-menu a {
  position: relative;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #ffd500;
  transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
  width: 60%;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 6px;
    right: 25px;
    z-index: 1000;
  }

  .logo {
    margin-right: auto;
  }
}


/* ========== RESPONSIVE ZA TABLETE (do 1024px) ========== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .hero-text, .hero-img {
    width: 100%;
    padding: 10px 0;
  }

  .info {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
  }

  .text-box, .form {
    max-width: 90%;
  }

  .why-list {
    flex-direction: column;
    align-items: center;
  }

  .review-list {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    gap: 15px;
  }
}

/* ========== MOBILNI (do 768px) – dodatna podešavanja ========== */
@media (max-width: 768px) {
  .text-box h2, .form h2,
  .why-us h3, .reviews h3, .services h3 {
    font-size: 22px;
  }

  .cta-btn {
    padding: 10px 16px;
    font-size: 16px;
  }

  footer {
    font-size: 14px;
    padding: 15px;
  }
}

@media (max-width: 1024px) {
  .text-box, .form {
    width: 90%;
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .service-box {
    width: 90%;
    height: auto;
  }

  .service-box h3 {
    font-size: 18px;
  }

  .toggle-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .section-title {
    text-align: center;
    font-size: 24px;
  }

  .services, .benefits {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .service-box, .benefit {
    width: 90%;
    max-width: 400px;
  }

  .benefits {
    padding: 20px 10px;
  }

  .benefit img {
    width: 80px;
    height: 80px;
  }

  .benefit h3 {
    font-size: 20px;
    text-align: center;
  }

  .benefit p {
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .services, .benefits {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .service-box, .benefit {
    width: 90%;
    max-width: 500px;
  }

  .benefit h3,
  .benefit p {
    text-align: center;
  }
}

@media (min-width: 1025px) and (max-width: 1075px) {
  .services {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .service-box {
    width: 90%;
    max-width: 500px;
  }
}
